diff options
author | Vijay Pai <vpai@google.com> | 2018-02-21 10:24:15 -0800 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2018-02-21 10:24:15 -0800 |
commit | a8453a20d8565ad63ca9ebcdc1b981400a7b09a0 (patch) | |
tree | b554248cd31da09f9120ead2fe9e6eca23ccfa68 /src/core/lib/gpr | |
parent | 57c52eebce27bd104ae130e72c3833f361b11919 (diff) | |
parent | 5262c087d88123c0f69603f42b6401a4b8fa9282 (diff) |
Merge branch 'master' into 2phase_thd
Diffstat (limited to 'src/core/lib/gpr')
-rw-r--r-- | src/core/lib/gpr/mpscq.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/lib/gpr/mpscq.cc b/src/core/lib/gpr/mpscq.cc index 34fc050a11..d7718273a6 100644 --- a/src/core/lib/gpr/mpscq.cc +++ b/src/core/lib/gpr/mpscq.cc @@ -71,6 +71,7 @@ gpr_mpscq_node* gpr_mpscq_pop_and_check_end(gpr_mpscq* q, bool* empty) { gpr_mpscq_push(q, &q->stub); next = (gpr_mpscq_node*)gpr_atm_acq_load(&tail->next); if (next != nullptr) { + *empty = false; q->tail = next; return tail; } |