Module notify

Source
Available on crate feature alloc only.

Structs§

AsyncListener
AsyncNotify
Synchronous notifier. This structure can be used not block tasks until desired, at which point all waiting tasks can be awaken with notify_all.
Listener
Notify
Synchronous notifier. This structure can be used not block threads until desired, at which point all waiting threads can be awaken with notify_all.

Functions§

async_notify
Creates a new async notifier and a listener to it.
notify
Creates a new notifier and a listener to it.