diff options
author | Mark D. Roth <roth@google.com> | 2016-06-29 07:50:18 -0700 |
---|---|---|
committer | Mark D. Roth <roth@google.com> | 2016-06-29 07:50:18 -0700 |
commit | 89ebe55985a705ddee72d28c1b93cfa681585a8c (patch) | |
tree | f062eab0150ddbdcfd486726aa12955de34c7a57 /src/core/lib/iomgr/executor.c | |
parent | 07cd9c9e064e636c432500724bf5f91ad15d041a (diff) | |
parent | 76d24420d7a6471dc3b135b62318277991ebdb08 (diff) |
Merge branch 'filter_call_init_failure' into filter_api
Diffstat (limited to 'src/core/lib/iomgr/executor.c')
-rw-r--r-- | src/core/lib/iomgr/executor.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/executor.c b/src/core/lib/iomgr/executor.c index 36e22e4271..8d7535d6fe 100644 --- a/src/core/lib/iomgr/executor.c +++ b/src/core/lib/iomgr/executor.c @@ -112,10 +112,10 @@ static void maybe_spawn_locked() { g_executor.pending_join = 1; } -void grpc_executor_enqueue(grpc_closure *closure, bool success) { +void grpc_executor_push(grpc_closure *closure, grpc_error *error) { gpr_mu_lock(&g_executor.mu); if (g_executor.shutting_down == 0) { - grpc_closure_list_add(&g_executor.closures, closure, success); + grpc_closure_list_append(&g_executor.closures, closure, error); maybe_spawn_locked(); } gpr_mu_unlock(&g_executor.mu); |