mirror of
https://github.com/curl/curl.git
synced 2024-11-27 05:50:21 +08:00
lib1564/5: verify that curl_multi_wakeup returns OK
This commit is contained in:
parent
3a63c190bb
commit
6cd066f64b
@ -61,7 +61,7 @@ int test(char *URL)
|
||||
|
||||
/* try a single wakeup */
|
||||
|
||||
multi_wakeup(multi);
|
||||
res_multi_wakeup(multi);
|
||||
|
||||
time_before_wait = tutil_tvnow();
|
||||
multi_poll(multi, NULL, 0, 1000, &numfds);
|
||||
@ -94,7 +94,7 @@ int test(char *URL)
|
||||
/* try lots of wakeup */
|
||||
|
||||
for(i = 0; i < WAKEUP_NUM; ++i)
|
||||
multi_wakeup(multi);
|
||||
res_multi_wakeup(multi);
|
||||
|
||||
time_before_wait = tutil_tvnow();
|
||||
multi_poll(multi, NULL, 0, 1000, &numfds);
|
||||
|
@ -70,7 +70,7 @@ static void *run_thread(void *ptr)
|
||||
|
||||
pthread_mutex_unlock(&lock);
|
||||
|
||||
multi_wakeup(multi);
|
||||
res_multi_wakeup(multi);
|
||||
}
|
||||
|
||||
test_cleanup:
|
||||
|
Loading…
Reference in New Issue
Block a user