diff options
author | Mark D. Roth <roth@google.com> | 2016-09-16 13:34:42 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-09-16 13:34:42 -0700 |
commit | 63cae4f11ae9493f8936a2e00179d28c054b682a (patch) | |
tree | 7008ffd7f6baeed840545c44ebe01170e4a279cb /src/core/lib/iomgr/exec_ctx.h | |
parent | d316beff3c9c135ec1e60bf9182f7968e73790c6 (diff) | |
parent | 999b49bf39bbc7764b50c50548d0f61280f873e2 (diff) |
Merge branch 'grpclb_resolver_changes2' into service_config
Diffstat (limited to 'src/core/lib/iomgr/exec_ctx.h')
-rw-r--r-- | src/core/lib/iomgr/exec_ctx.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/exec_ctx.h b/src/core/lib/iomgr/exec_ctx.h index 917f332f03..1895ee6245 100644 --- a/src/core/lib/iomgr/exec_ctx.h +++ b/src/core/lib/iomgr/exec_ctx.h @@ -40,8 +40,8 @@ /** A workqueue represents a list of work to be executed asynchronously. Forward declared here to avoid a circular dependency with workqueue.h. */ -struct grpc_workqueue; typedef struct grpc_workqueue grpc_workqueue; +typedef struct grpc_combiner grpc_combiner; #ifndef GRPC_EXECUTION_CONTEXT_SANITIZER /** Execution context. @@ -66,13 +66,15 @@ typedef struct grpc_workqueue grpc_workqueue; */ struct grpc_exec_ctx { grpc_closure_list closure_list; + /** currently active combiner: updated only via combiner.c */ + grpc_combiner *active_combiner; bool cached_ready_to_finish; void *check_ready_to_finish_arg; bool (*check_ready_to_finish)(grpc_exec_ctx *exec_ctx, void *arg); }; #define GRPC_EXEC_CTX_INIT_WITH_FINISH_CHECK(finish_check, finish_check_arg) \ - { GRPC_CLOSURE_LIST_INIT, false, finish_check_arg, finish_check } + { GRPC_CLOSURE_LIST_INIT, NULL, false, finish_check_arg, finish_check } #else struct grpc_exec_ctx { bool cached_ready_to_finish; |