Lines Matching refs:sock_pair
157 curl_socket_t sock_pair[2]; /* eventfd/pipes/socket pair */ member
198 if(tsd->sock_pair[1] != CURL_SOCKET_BAD) { in destroy_thread_sync_data()
199 wakeup_close(tsd->sock_pair[1]); in destroy_thread_sync_data()
237 if(wakeup_create(tsd->sock_pair, FALSE) < 0) { in init_thread_sync_data()
238 tsd->sock_pair[0] = CURL_SOCKET_BAD; in init_thread_sync_data()
239 tsd->sock_pair[1] = CURL_SOCKET_BAD; in init_thread_sync_data()
256 if(tsd->sock_pair[0] != CURL_SOCKET_BAD) { in init_thread_sync_data()
257 wakeup_close(tsd->sock_pair[0]); in init_thread_sync_data()
258 tsd->sock_pair[0] = CURL_SOCKET_BAD; in init_thread_sync_data()
331 if(tsd->sock_pair[1] != CURL_SOCKET_BAD) { in getaddrinfo_thread()
338 if(wakeup_write(tsd->sock_pair[1], buf, sizeof(buf)) < 0) { in getaddrinfo_thread()
401 curl_socket_t sock_rd = td->tsd.sock_pair[0]; in destroy_async_data()
653 socks[0] = td->tsd.sock_pair[0]; in Curl_resolver_getsock()