diff options
author | Craig Tiller <ctiller@google.com> | 2015-11-02 14:15:03 -0800 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-11-02 14:15:03 -0800 |
commit | e8b5f627ccae2db13e366059c3738e96ac9a5d29 (patch) | |
tree | 896550124039eb2fae7813498825c0d9e98e1451 /src/core/iomgr/pollset.h | |
parent | 48db18f9100cba50c1d0f528a64c315506d5d11e (diff) |
stream_op cleanup: pollset changes
Diffstat (limited to 'src/core/iomgr/pollset.h')
-rw-r--r-- | src/core/iomgr/pollset.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/iomgr/pollset.h b/src/core/iomgr/pollset.h index d15553a12a..c6b0214dea 100644 --- a/src/core/iomgr/pollset.h +++ b/src/core/iomgr/pollset.h @@ -55,8 +55,13 @@ #endif void grpc_pollset_init(grpc_pollset *pollset); +/* Begin shutting down the pollset, and call closure when done. + * GRPC_POLLSET_MU(pollset) must be held */ void grpc_pollset_shutdown(grpc_exec_ctx *exec_ctx, grpc_pollset *pollset, grpc_closure *closure); +/** Reset the pollset to its initial state (perhaps with some cached objects); + * must have been previously shutdown */ +void grpc_pollset_reset(grpc_pollset *pollset); void grpc_pollset_destroy(grpc_pollset *pollset); /* Do some work on a pollset. |