Home
last modified time | relevance | path

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

/external/grpc-grpc/src/core/lib/iomgr/
Dsocket_windows.cc63 void grpc_winsocket_shutdown(grpc_winsocket* winsocket) { in grpc_winsocket_shutdown() argument
71 gpr_mu_lock(&winsocket->state_mu); in grpc_winsocket_shutdown()
72 if (winsocket->shutdown_called) { in grpc_winsocket_shutdown()
73 gpr_mu_unlock(&winsocket->state_mu); in grpc_winsocket_shutdown()
76 winsocket->shutdown_called = true; in grpc_winsocket_shutdown()
77 gpr_mu_unlock(&winsocket->state_mu); in grpc_winsocket_shutdown()
79 status = WSAIoctl(winsocket->socket, SIO_GET_EXTENSION_FUNCTION_POINTER, in grpc_winsocket_shutdown()
84 DisconnectEx(winsocket->socket, NULL, 0, 0); in grpc_winsocket_shutdown()
91 closesocket(winsocket->socket); in grpc_winsocket_shutdown()
94 static void destroy(grpc_winsocket* winsocket) { in destroy() argument
[all …]
Dsocket_windows.h104 void grpc_socket_notify_on_write(grpc_winsocket* winsocket,
107 void grpc_socket_notify_on_read(grpc_winsocket* winsocket,
110 void grpc_socket_become_ready(grpc_winsocket* winsocket,