#include <iris/core/wait_queue.h>
◆ notify_all()
Notify all waiters that an event occurred.
- Parameters
-
action | Callback which is executed with the WaitQueue's lock held. |
◆ notify_one()
Notify exactly one waiter that an event occurred.
- Parameters
-
action | Callback which is executed with the WaitQueue's lock held. |
◆ wait()
Wait for an event to occur.
This will block the currently executing task until predicate is satisfied.
- Parameters
-
predicate | Predicate which will met if this function returns successfully. |
- Returns
- Returns an error if the current task was interrupted by userspace, and otherwise returns success once an event has occurred.
The documentation for this class was generated from the following files: