aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/tcp_server.h
diff options
context:
space:
mode:
authorGravatar Mark D. Roth <roth@google.com>2016-12-08 13:59:13 -0800
committerGravatar Mark D. Roth <roth@google.com>2016-12-08 13:59:13 -0800
commiteed3815e9e51995a74d09ad642fdd7aaab1a33be (patch)
treea9d8ea4ff60f9c8243ec8a0f22ffe0830e5a884a /src/core/lib/iomgr/tcp_server.h
parent5b850b2194d668292959131635bda17c4f497a06 (diff)
Pass ownership of grpc_tcp_server_acceptor to connector.
Diffstat (limited to 'src/core/lib/iomgr/tcp_server.h')
-rw-r--r--src/core/lib/iomgr/tcp_server.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/tcp_server.h b/src/core/lib/iomgr/tcp_server.h
index 6eba8c4057..437a94beff 100644
--- a/src/core/lib/iomgr/tcp_server.h
+++ b/src/core/lib/iomgr/tcp_server.h
@@ -52,7 +52,8 @@ typedef struct grpc_tcp_server_acceptor {
unsigned fd_index;
} grpc_tcp_server_acceptor;
-/* Called for newly connected TCP connections. */
+/* Called for newly connected TCP connections.
+ Takes ownership of acceptor. */
typedef void (*grpc_tcp_server_cb)(grpc_exec_ctx *exec_ctx, void *arg,
grpc_endpoint *ep,
grpc_pollset *accepting_pollset,