Crate atomic_waker

source
Expand description

futures::task::AtomicWaker extracted into its own crate.

ยงFeatures

This crate adds a feature, portable-atomic, which uses a polyfill from the portable-atomic crate in order to provide functionality to targets without atomics. See the README for the portable-atomic crate for more information on how to use it.

Structsยง

  • A synchronization primitive for task wakeup.

Constantsยง

  • REGISTERING ๐Ÿ”’
    A new waker value is being registered with the AtomicWaker cell.
  • WAITING ๐Ÿ”’
    Idle state
  • WAKING ๐Ÿ”’
    The waker currently registered with the AtomicWaker cell is being woken.