aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/lib/iomgr
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-03-20 09:21:20 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-03-20 09:21:20 -0700
commit2b4a040d406efb6c27a4ca3732a46145b8ce7d9f (patch)
tree936611f1c4ae749670fa11c6a6b8d691652e4a73 /src/core/lib/iomgr
parentcad47dd47a51ca2bd264b47ac182a881f1fd4fac (diff)
Fix race?
Diffstat (limited to 'src/core/lib/iomgr')
-rw-r--r--src/core/lib/iomgr/ev_epoll_linux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lib/iomgr/ev_epoll_linux.c b/src/core/lib/iomgr/ev_epoll_linux.c
index 1e88fe76d3..3b35491df9 100644
--- a/src/core/lib/iomgr/ev_epoll_linux.c
+++ b/src/core/lib/iomgr/ev_epoll_linux.c
@@ -1111,7 +1111,7 @@ static void notify_on(grpc_exec_ctx *exec_ctx, grpc_fd *fd, gpr_atm *state,
switch (curr) {
case CLOSURE_NOT_READY: {
/* CLOSURE_NOT_READY -> <closure>. */
- if (gpr_atm_no_barrier_cas(state, CLOSURE_NOT_READY,
+ if (gpr_atm_full_cas(state, CLOSURE_NOT_READY,
(gpr_atm)closure)) {
return; /* Successful. Return */
}