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§

  • 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.