aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Noah Eisen <ncteisen@gmail.com>2017-12-19 07:39:03 -0800
committerGravatar GitHub <noreply@github.com>2017-12-19 07:39:03 -0800
commitffe6e03ecd8be29448b7c6c7837c11bfd5d3aa8f (patch)
treefc97b23ff5ca6475d6f81eef21f48022d7209125 /src
parent1acca45e8984acdae4bc782de7186e981dd39443 (diff)
Fix internal TSAN bug
Diffstat (limited to 'src')
-rw-r--r--src/core/lib/iomgr/error.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/error.cc b/src/core/lib/iomgr/error.cc
index 42cd7c455d..67c3caf5ee 100644
--- a/src/core/lib/iomgr/error.cc
+++ b/src/core/lib/iomgr/error.cc
@@ -749,7 +749,7 @@ const char* grpc_error_string(grpc_error* err) {
if (!gpr_atm_rel_cas(&err->atomics.error_string, 0, (gpr_atm)out)) {
gpr_free(out);
- out = (char*)gpr_atm_no_barrier_load(&err->atomics.error_string);
+ out = (char*)gpr_atm_acq_load(&err->atomics.error_string);
}
GPR_TIMER_END("grpc_error_string", 0);