Searched refs:waitfd (Results 1 – 1 of 1) sorted by relevance
55 struct curl_waitfd waitfd; in test() local73 waitfd.events = state ? CURL_WAIT_POLLIN : CURL_WAIT_POLLOUT; in test()74 waitfd.revents = 0; in test()76 waitfd.fd = sock; in test()78 curl_multi_wait(mcurl, &waitfd, sock == CURL_SOCKET_BAD ? 0 : 1, 50, in test()80 if((sock != CURL_SOCKET_BAD) && (waitfd.revents & waitfd.events)) { in test()
Completed in 3 milliseconds