diff options
author | David Garcia Quintas <dgq@google.com> | 2017-01-17 10:40:12 -0800 |
---|---|---|
committer | David Garcia Quintas <dgq@google.com> | 2017-01-17 10:40:12 -0800 |
commit | 89002bcada4f11cb77915ae8c9b0daec86688a78 (patch) | |
tree | 3646f1d7be56dbddb049486711df915e02c02a60 /src/core/lib/iomgr/iomgr.h | |
parent | e272af07c77af238209fce05af4cc9fee372a948 (diff) | |
parent | 1e2775861fbdbaa6f00553b5eaf708e46efc10a6 (diff) |
Merge branch 'master' of github.com:grpc/grpc into poll_fd_shutdown
Diffstat (limited to 'src/core/lib/iomgr/iomgr.h')
-rw-r--r-- | src/core/lib/iomgr/iomgr.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/iomgr.h b/src/core/lib/iomgr/iomgr.h index c1cfaf302e..245a1e08aa 100644 --- a/src/core/lib/iomgr/iomgr.h +++ b/src/core/lib/iomgr/iomgr.h @@ -34,12 +34,14 @@ #ifndef GRPC_CORE_LIB_IOMGR_IOMGR_H #define GRPC_CORE_LIB_IOMGR_IOMGR_H +#include <grpc/impl/codegen/exec_ctx_fwd.h> #include "src/core/lib/iomgr/port.h" /** Initializes the iomgr. */ void grpc_iomgr_init(void); -/** Signals the intention to shutdown the iomgr. */ -void grpc_iomgr_shutdown(void); +/** Signals the intention to shutdown the iomgr. Expects to be able to flush + * exec_ctx. */ +void grpc_iomgr_shutdown(grpc_exec_ctx *exec_ctx); #endif /* GRPC_CORE_LIB_IOMGR_IOMGR_H */ |