Module std::sync::mpmc

source ·
Expand description

Multi-producer multi-consumer channels.

Re-exports

Modules

  • array 🔒
    Bounded channel based on a preallocated array.
  • context 🔒
    Thread-local channel context.
  • counter 🔒
  • error 🔒
  • list 🔒
    Unbounded channel implemented as a linked list.
  • select 🔒
  • utils 🔒
  • waker 🔒
    Waking mechanism for threads blocked on channel operations.
  • zero 🔒
    Zero-capacity channel.

Structs

  • The receiving side of a channel.
  • The sending side of a channel.

Enums

Functions

  • Creates a channel of unbounded capacity.
  • Creates a channel of bounded capacity.