ftest: add pthread_cond in progress bar to optimize cpu usage

This commit is contained in:
2025-07-03 00:36:44 +02:00
parent 02b1f29a3c
commit 1f2bebab91
3 changed files with 39 additions and 4 deletions
+1 -1
View File
@@ -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);