ftest: add pthread_cond in progress bar to optimize cpu usage
This commit is contained in:
@@ -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