Classes | |
class | Key |
Public Member Functions | |
bool | notify () noexcept |
bool | notifyAll () noexcept |
Key | prepareWait () noexcept |
void | wait (uint32_t epoch) noexcept |
template<typename Condition > | |
bool | await (Condition condition) |
Definition at line 22 of file event_count.h.
bool util::fibers_ext::EventCount::await | ( | Condition | condition | ) |
Wait for condition() to become true. Will clean up appropriately if condition() throws. Returns true if had to preempt using wait_queue.
Definition at line 178 of file event_count.h.