19 #ifndef GRPC_CORE_LIB_IOMGR_LOCKFREE_EVENT_H 20 #define GRPC_CORE_LIB_IOMGR_LOCKFREE_EVENT_H 65 enum State { kClosureNotReady = 0, kClosureReady = 2, kShutdownBit = 1 };
#define gpr_atm_no_barrier_load(p)
Definition: atm_gcc_atomic.h:51
Definition: lockfree_event.h:32
LockfreeEvent & operator=(const LockfreeEvent &)=delete
bool IsShutdown() const
Definition: lockfree_event.h:46
void NotifyOn(grpc_closure *closure)
Definition: error_internal.h:39
Internal thread interface.
Definition: backoff.h:26
intptr_t gpr_atm
Definition: atm_gcc_atomic.h:30
A closure over a grpc_iomgr_cb_func.
Definition: closure.h:56
bool SetShutdown(grpc_error *error)