lib1564/5: verify that curl_multi_wakeup returns OK

This commit is contained in:
Daniel Stenberg 2020-12-11 00:35:15 +01:00
parent 3a63c190bb
commit 6cd066f64b
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -70,7 +70,7 @@ static void *run_thread(void *ptr)
pthread_mutex_unlock(&lock);
multi_wakeup(multi);
res_multi_wakeup(multi);
}
test_cleanup: