Home
last modified time | relevance | path

Searched refs:wakeup_pair (Results 1 – 2 of 2) sorted by relevance

/curl/lib/
H A Dmultihandle.h164 curl_socket_t wakeup_pair[2]; /* eventfd()/pipe()/socketpair() used for member
H A Dmulti.c435 if(wakeup_create(multi->wakeup_pair, TRUE) < 0) { in Curl_multi_handle()
436 multi->wakeup_pair[0] = CURL_SOCKET_BAD; in Curl_multi_handle()
437 multi->wakeup_pair[1] = CURL_SOCKET_BAD; in Curl_multi_handle()
1337 if(use_wakeup && multi->wakeup_pair[0] != CURL_SOCKET_BAD) {
1338 if(Curl_pollfds_add_sock(&cpfds, multi->wakeup_pair[0], POLLIN)) {
1442 if(use_wakeup && multi->wakeup_pair[0] != CURL_SOCKET_BAD) {
1451 nread = wakeup_read(multi->wakeup_pair[0], buf, sizeof(buf));
1541 if(multi->wakeup_pair[1] != CURL_SOCKET_BAD) {
1560 if(wakeup_write(multi->wakeup_pair[1], buf, sizeof(buf)) < 0) {
3132 wakeup_close(multi->wakeup_pair[0]);
[all …]

Completed in 28 milliseconds