diff options
author | 2016-04-28 14:19:48 -0700 | |
---|---|---|
committer | 2016-04-28 14:19:48 -0700 | |
commit | 27f59afecb04b63b7c83a842d400efb1ad09049a (patch) | |
tree | 599e2089e7e37f9642d925d1fc118acead438585 /src/core/lib/iomgr/executor.c | |
parent | d5c6eca64b4f6a36b2477e06e7e6f80e2992907d (diff) |
Unifying error handling within core
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); |