diff options
author | Craig Tiller <ctiller@google.com> | 2016-06-15 09:34:14 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-06-15 09:34:14 -0700 |
commit | 52f231212f0385bae40dd6e45ed1c4bf823bf3c2 (patch) | |
tree | 6cbe3001bfaef14f6718c7ee693010754c1c2dcd /src/core/lib/iomgr/endpoint.h | |
parent | 95123ceb9bc1b4683518a75ad1a0fb8c0b962ab0 (diff) |
Make {endpoint,fd}_shutdown idempotent
Diffstat (limited to 'src/core/lib/iomgr/endpoint.h')
-rw-r--r-- | src/core/lib/iomgr/endpoint.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/endpoint.h b/src/core/lib/iomgr/endpoint.h index 3877ceb1e2..f9808bbda1 100644 --- a/src/core/lib/iomgr/endpoint.h +++ b/src/core/lib/iomgr/endpoint.h @@ -82,7 +82,7 @@ char *grpc_endpoint_get_peer(grpc_endpoint *ep); void grpc_endpoint_write(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep, gpr_slice_buffer *slices, grpc_closure *cb); -/* Causes any pending read/write callbacks to run immediately with +/* Causes any pending and future read/write callbacks to run immediately with success==0 */ void grpc_endpoint_shutdown(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep); void grpc_endpoint_destroy(grpc_exec_ctx *exec_ctx, grpc_endpoint *ep); |