wangzhengquan
2021-01-25 c9c89f7b85c82d5b7d2c094e2aa1488d865d85de
update
2个文件已修改
11 ■■■■ 已修改文件
CMakeLists.txt 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
test_socket/bus_test.cpp 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
CMakeLists.txt
@@ -19,7 +19,7 @@
list(APPEND EXTRA_INCLUDES "${PROJECT_SOURCE_DIR}/include/usgcommon")
list(APPEND EXTRA_LIBS ${PROJECT_SOURCE_DIR}/lib/libusgcommon.a rt pthread )
list(APPEND EXTRA_LIBS ${PROJECT_SOURCE_DIR}/lib/libusgcommon.a  pthread rt)
# build api doc
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);