aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/support
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2016-09-02 14:36:56 -0700
committerGravatar Craig Tiller <ctiller@google.com>2016-09-02 14:36:56 -0700
commit78dc25e86b090c7fa26e77ce6521a30002d150be (patch)
tree2ed86502836d1c5eb6b3cf8e1e9bfd13484a1a03 /src/core/lib/support
parent62622970cd0a38507f71dde73d1f2c75e413306f (diff)
Revert barrier change to restore TSAN passing
Diffstat (limited to 'src/core/lib/support')
-rw-r--r--src/core/lib/support/mpscq.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/support/mpscq.c b/src/core/lib/support/mpscq.c
index cdd6335f82..5b9323275a 100644
--- a/src/core/lib/support/mpscq.c
+++ b/src/core/lib/support/mpscq.c
@@ -50,7 +50,7 @@ void gpr_mpscq_push(gpr_mpscq *q, gpr_mpscq_node *n) {
gpr_atm_no_barrier_store(&n->next, (gpr_atm)NULL);
gpr_mpscq_node *prev =
(gpr_mpscq_node *)gpr_atm_full_xchg(&q->head, (gpr_atm)n);
- gpr_atm_no_barrier_store(&prev->next, (gpr_atm)n);
+ gpr_atm_rel_store(&prev->next, (gpr_atm)n);
}
gpr_mpscq_node *gpr_mpscq_pop(gpr_mpscq *q) {