Module notify

Source

StructsΒ§

AtomicNotification πŸ”’
Notification for a Waiter. This struct is equivalent to Option<Notification>, but uses AtomicUsize inside for atomic operations.
Notified
Future returned from Notify::notified().
Notify
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 on notify.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_CALLS_MASK πŸ”’
NOTIFY_WAITERS_SHIFT πŸ”’
STATE_MASK πŸ”’
WAITING πŸ”’
One or more threads are currently waiting to be notified.

FunctionsΒ§

atomic_inc_num_notify_waiters_calls πŸ”’
get_num_notify_waiters_calls πŸ”’
get_state πŸ”’
inc_num_notify_waiters_calls πŸ”’
is_unpin πŸ”’
notify_locked πŸ”’
set_state πŸ”’

Type AliasesΒ§

GuardedWaitList πŸ”’
WaitList πŸ”’