Home
last modified time | relevance | path

Searched refs:kClosureNotReady (Results 1 – 2 of 2) sorted by relevance

/external/grpc-grpc/src/core/lib/iomgr/
Dlockfree_event.cc71 gpr_atm_no_barrier_store(&state_, kClosureNotReady); in InitEvent()
81 GPR_ASSERT(curr == kClosureNotReady || curr == kClosureReady); in DestroyEvent()
102 case kClosureNotReady: { in NotifyOn()
110 if (gpr_atm_rel_cas(&state_, kClosureNotReady, (gpr_atm)closure)) { in NotifyOn()
126 if (gpr_atm_no_barrier_cas(&state_, kClosureReady, kClosureNotReady)) { in NotifyOn()
169 case kClosureNotReady: in SetShutdown()
223 case kClosureNotReady: { in SetReady()
226 if (gpr_atm_no_barrier_cas(&state_, kClosureNotReady, kClosureReady)) { in SetReady()
241 else if (gpr_atm_full_cas(&state_, curr, kClosureNotReady)) { in SetReady()
Dlockfree_event.h65 enum State { kClosureNotReady = 0, kClosureReady = 2, kShutdownBit = 1 }; enumerator