ftest: add pthread_cond in progress bar to optimize cpu usage
This commit is contained in:
1 parent
02b1f29a3c
commit
1f2bebab91
3 files changed
+39
-4
No files matched your search
@@ -164,7 +164,7 @@ TEST(searchNode){
|
||||
|
||||
|
||||
TEST(pollThread){
|
||||
struct y_socket_t *argS=y_socket_create("1600", 2, 1);
|
||||
struct y_socket_t *argS=y_socket_create("1600", 2, 3);
|
||||
|
||||
pthread_t pollTh;
|
||||
pthread_create(&pollTh, NULL, y_socket_poll_fds, (void*)argS);
|
||||
|
||||
Reference in new issue
Block a user