diff options
author | Yash Tibrewal <yashkt@google.com> | 2017-11-09 18:44:50 -0800 |
---|---|---|
committer | Yash Tibrewal <yashkt@google.com> | 2017-11-10 10:48:15 -0800 |
commit | 00325486749b5b56bde1fe8155fb2e3eef6499de (patch) | |
tree | 7531e040ab5cc0ed280c842f551380c4934463e4 /src/core/lib/iomgr/combiner.cc | |
parent | 3150744c712449585e6c0a3347f2b9366671a8eb (diff) |
Correction to closure.cc,bm_chttp2_hpack and few more
Diffstat (limited to 'src/core/lib/iomgr/combiner.cc')
-rw-r--r-- | src/core/lib/iomgr/combiner.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/lib/iomgr/combiner.cc b/src/core/lib/iomgr/combiner.cc index 5dc0ef450f..b1b8fffdca 100644 --- a/src/core/lib/iomgr/combiner.cc +++ b/src/core/lib/iomgr/combiner.cc @@ -161,7 +161,7 @@ static void combiner_exec(grpc_closure* cl, grpc_error* error) { GRPC_STATS_INC_COMBINER_LOCKS_INITIATED(); GPR_TIMER_MARK("combiner.initiated", 0); gpr_atm_no_barrier_store(&lock->initiating_exec_ctx_or_null, - (gpr_atm)&exec_ctx); + (gpr_atm)exec_ctx); // first element on this list: add it to the list of combiner locks // executing within this exec_ctx push_last_on_exec_ctx(lock); @@ -170,7 +170,7 @@ static void combiner_exec(grpc_closure* cl, grpc_error* error) { // offload for one or two actions, and that's fine gpr_atm initiator = gpr_atm_no_barrier_load(&lock->initiating_exec_ctx_or_null); - if (initiator != 0 && initiator != (gpr_atm)&exec_ctx) { + if (initiator != 0 && initiator != (gpr_atm)exec_ctx) { gpr_atm_no_barrier_store(&lock->initiating_exec_ctx_or_null, 0); } } |