aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-06-06 08:37:40 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-06-06 08:37:40 -0700
commit3e6c777c03c1a2869e09bba9706b308e1c00bb71 (patch)
tree48f80ac115909cbc4e749b4682599e7f851dfade /src/core/lib
parent747850c46312791b41fc11aa4311546f4158dde2 (diff)
clang-format
Diffstat (limited to 'src/core/lib')
-rw-r--r--src/core/lib/iomgr/combiner.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/core/lib/iomgr/combiner.c b/src/core/lib/iomgr/combiner.c
index e15448f5f3..075f4b2092 100644
--- a/src/core/lib/iomgr/combiner.c
+++ b/src/core/lib/iomgr/combiner.c
@@ -222,18 +222,20 @@ bool grpc_combiner_continue_exec_ctx(grpc_exec_ctx *exec_ctx) {
return false;
}
- bool contended = gpr_atm_no_barrier_load(&lock->initiating_exec_ctx_or_null) == 0;
+ bool contended =
+ gpr_atm_no_barrier_load(&lock->initiating_exec_ctx_or_null) == 0;
GRPC_COMBINER_TRACE(gpr_log(GPR_DEBUG,
"C:%p grpc_combiner_continue_exec_ctx "
"contended=%d "
"exec_ctx_ready_to_finish=%d "
"time_to_execute_final_list=%d",
- lock, contended, grpc_exec_ctx_ready_to_finish(exec_ctx),
+ lock, contended,
+ grpc_exec_ctx_ready_to_finish(exec_ctx),
lock->time_to_execute_final_list));
- if (contended &&
- grpc_exec_ctx_ready_to_finish(exec_ctx) && grpc_executor_is_threaded()) {
+ if (contended && grpc_exec_ctx_ready_to_finish(exec_ctx) &&
+ grpc_executor_is_threaded()) {
GPR_TIMER_MARK("offload_from_finished_exec_ctx", 0);
// this execution context wants to move on, and we have a workqueue (and
// so can help the execution context out): schedule remaining work to be