test_socket/bus_test.cpp
@@ -19,7 +19,7 @@ } void *run_recv(void *skptr) { void *run_recv2(void *skptr) { pthread_detach(pthread_self()); void *recvbuf; int size; @@ -44,6 +44,13 @@ } void *run_recv(void *skptr) { while(true) { printf("================run_recv\n"); sleep(1); } } void client2(int key) { ShmModSocket *sk = new ShmModSocket(); run_recv((void *)sk);