wangzhengquan
2021-01-26 df524e68ab5b5dc2c6ae9818c01baea2931b8d6b
test_socket/bus_test.cpp
@@ -32,7 +32,6 @@
  int rv;
  ShmModSocket *sk = (ShmModSocket *)skptr;
printf("run_recv\n");
  struct timespec timeout = {2, 0};
  while (true) {
    printf("run_recv before\n");
@@ -50,20 +49,6 @@
  return NULL;
  
}
void *run_recv2(void *skptr) {
  pthread_detach(pthread_self());
  while(true) {
    logger->debug("================run_recv\n");
    // sleep(1);
  }
}
void client2(int key) {
  ShmModSocket *sk = new ShmModSocket();
  run_recv((void *)sk);
}
void client(int key) {
  ShmModSocket *sk = new ShmModSocket();