[−][src]Module suspend_core::listen
Utilities for waiting on notifications.
Structs
Listener | A structure providing thread parking and notification operations. |
ListenerGuard | An exclusive guard around a |
Notifier | Used to notify an associated |
Functions
block_on | Block the current thread on the result of a |
block_on_poll | Block the current thread on the result of a poll function, with an optional timeout.
A |
block_on_unpin | Block the current thread on the result of a |
park_thread | Park the current thread until notified, with an optional timeout.
If a timeout is specified and reached before there is a notification, then
a |