Home
last modified time | relevance | path

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

/third_party/grpc/src/core/lib/iomgr/
Dlockfree_event.cc79 if (curr & kShutdownBit) { in DestroyEvent()
80 GRPC_ERROR_UNREF((grpc_error*)(curr & ~kShutdownBit)); in DestroyEvent()
88 kShutdownBit /* shutdown, no error */)); in DestroyEvent()
141 if ((curr & kShutdownBit) > 0) { in NotifyOn()
143 reinterpret_cast<grpc_error*>(curr & ~kShutdownBit); in NotifyOn()
163 gpr_atm new_state = reinterpret_cast<gpr_atm>(shutdown_error) | kShutdownBit; in SetShutdown()
186 if ((curr & kShutdownBit) > 0) { in SetShutdown()
239 if ((curr & kShutdownBit) > 0) { in SetReady()
Dlockfree_event.h47 return (gpr_atm_no_barrier_load(&state_) & kShutdownBit) != 0; in IsShutdown()
65 enum State { kClosureNotReady = 0, kClosureReady = 2, kShutdownBit = 1 }; enumerator