diff options
author | Craig Tiller <ctiller@google.com> | 2015-09-22 12:32:31 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-09-22 12:32:31 -0700 |
commit | 8af4c337181322cc4fb396199c90f574cfb4163f (patch) | |
tree | 04e56ca390586007392fa65063df9019c178d406 /src/core/iomgr/exec_ctx.h | |
parent | e7db29f8c74da29d88c1f373ae52a27982eb2c87 (diff) |
Final patches for rename
Diffstat (limited to 'src/core/iomgr/exec_ctx.h')
-rw-r--r-- | src/core/iomgr/exec_ctx.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/core/iomgr/exec_ctx.h b/src/core/iomgr/exec_ctx.h index 4d30feb26b..ff084abeba 100644 --- a/src/core/iomgr/exec_ctx.h +++ b/src/core/iomgr/exec_ctx.h @@ -36,4 +36,15 @@ #include "src/core/iomgr/closure.h" +struct grpc_exec_ctx { + grpc_closure_list closure_list; +}; + +#define GRPC_EXEC_CTX_INIT { GRPC_CLOSURE_LIST_INIT } + +void grpc_exec_ctx_finish(grpc_exec_ctx *exec_ctx); +void grpc_exec_ctx_flush(grpc_exec_ctx *exec_ctx); +void grpc_exec_ctx_enqueue(grpc_exec_ctx *exec_ctx, grpc_closure *closure, int success); +void grpc_exec_ctx_enqueue_list(grpc_exec_ctx *exec_ctx, grpc_closure_list *list); + #endif |