diff options
author | Craig Tiller <ctiller@google.com> | 2016-06-30 14:53:51 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-06-30 14:53:51 -0700 |
commit | 5e4fb0eedeb0a92f00ec10942ab65408550138bf (patch) | |
tree | d8c9032cb693ceea53dbfafb4b4e2d016b3b18e5 | |
parent | 70bd4839bc93feab530494d7a75c821b540be906 (diff) |
Windows implementation of get_workqueue
-rw-r--r-- | src/core/lib/iomgr/tcp_windows.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/core/lib/iomgr/tcp_windows.c b/src/core/lib/iomgr/tcp_windows.c index 37ab59021e..35054c42b5 100644 --- a/src/core/lib/iomgr/tcp_windows.c +++ b/src/core/lib/iomgr/tcp_windows.c @@ -389,9 +389,16 @@ static char *win_get_peer(grpc_endpoint *ep) { return gpr_strdup(tcp->peer_string); } -static grpc_endpoint_vtable vtable = { - win_read, win_write, win_add_to_pollset, win_add_to_pollset_set, - win_shutdown, win_destroy, win_get_peer}; +static grpc_workqueue *win_get_workqueue(grpc_endpoint *ep) { return NULL; } + +static grpc_endpoint_vtable vtable = {win_read, + win_write, + win_get_workqueue, + win_add_to_pollset, + win_add_to_pollset_set, + win_shutdown, + win_destroy, + win_get_peer}; grpc_endpoint *grpc_tcp_create(grpc_winsocket *socket, char *peer_string) { grpc_tcp *tcp = (grpc_tcp *)gpr_malloc(sizeof(grpc_tcp)); |