Structs§
- AtomicNotification πNotification for a
Waiter
. This struct is equivalent toOption<Notification>
, but usesAtomicUsize
inside for atomic operations. - Future returned from
Notify::notified()
. - Notifies a single task to wake up.
- NotifyWaitersList πList used in
Notify::notify_waiters
. It wraps a guarded linked list and gates the access to it onnotify.waiters
mutex. It also empties the list on drop. - Waiter π
Enums§
- Notification π
- NotifyOneStrategy π
- State π
Constants§
- EMPTY πInitial βidleβ state.
- NOTIFICATION_ALL π
- NOTIFICATION_LAST π
- NOTIFICATION_NONE π
- NOTIFICATION_ONE π
- NOTIFIED πPending notification.
- NOTIFY_WAITERS_SHIFT π
- STATE_MASK π
- WAITING πOne or more threads are currently waiting to be notified.
Functions§
- get_state π
- is_unpin π
- notify_locked π
- set_state π
Type Aliases§
- GuardedWaitList π
- WaitList π