From 20bc56d8908358b1e4f8e8d853a3d3c53f8cb4fe Mon Sep 17 00:00:00 2001 From: Craig Tiller Date: Thu, 12 Feb 2015 09:02:56 -0800 Subject: Multi-completion-queue-server Allow binding a different completion queue to each registered method. This will allow multiplexing for the C++ server between sync & async methods more easily. --- src/core/surface/server_chttp2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/surface/server_chttp2.c') diff --git a/src/core/surface/server_chttp2.c b/src/core/surface/server_chttp2.c index 5ba7d47efd..3b6abb7d03 100644 --- a/src/core/surface/server_chttp2.c +++ b/src/core/surface/server_chttp2.c @@ -59,9 +59,9 @@ static void new_transport(void *server, grpc_endpoint *tcp) { } /* Server callback: start listening on our ports */ -static void start(grpc_server *server, void *tcpp, grpc_pollset *pollset) { +static void start(grpc_server *server, void *tcpp, grpc_pollset **pollsets, size_t pollset_count) { grpc_tcp_server *tcp = tcpp; - grpc_tcp_server_start(tcp, pollset, new_transport, server); + grpc_tcp_server_start(tcp, pollsets, pollset_count, new_transport, server); } /* Server callback: destroy the tcp listener (so we don't generate further -- cgit v1.2.3