A WakerQueue is an ordered list of Wakers that allows multiple tasks to wait on the same asynchronous operation.
Additional Inherited Members | |
Public Member Functions inherited from pw::async2::internal::WakerQueueBase | |
| constexpr | WakerQueueBase (InlineQueue< Waker > &queue) |
| size_t | size () const |
| Returns the number of wakers in the queue. | |
| bool | empty () const |
Returns true if there are no wakers in the queue. | |
| bool | full () const |
Returns true if the queue has no remaining space. | |
| void | WakeOne () |
Wakes the first Waker in the queue. | |
| void | WakeMany (size_t count) |
Wakes count Wakers from the front of the queue. | |
| void | WakeAll () |
Wakes every Waker in the queue. | |
| bool | Add (Waker &&waker) |