aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr/iomgr.h
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2017-01-17 10:40:12 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2017-01-17 10:40:12 -0800
commit89002bcada4f11cb77915ae8c9b0daec86688a78 (patch)
tree3646f1d7be56dbddb049486711df915e02c02a60 /src/core/lib/iomgr/iomgr.h
parente272af07c77af238209fce05af4cc9fee372a948 (diff)
parent1e2775861fbdbaa6f00553b5eaf708e46efc10a6 (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.h6
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 */