Crate async_fifo

Source
Expand description

This crate implements three lock-free structures for object transfers:

  • fully-featured MPMC channels (in the fifo module)
  • small one-shot SPSC channels (in the slot module)
  • an AtomicSlot<T> type (in the slot module)

All of these structures are synchronized without any locks and without spinning/yielding. This crate is compatible with no_std targets, except for the *_blocking methods.

(All items of the fifo module are re-exported here.)

Re-exports§

pub use fifo::*;

Modules§

fifo
First-in, first-out MPMC channels (all items re-exported at crate root)
slot
Atomic and asynchronous slots