crossbeam

Crate queue

Source
Expand description

Concurrent queues.

This crate provides concurrent queues that can be shared among threads:

  • ArrayQueue, a bounded MPMC queue that allocates a fixed-capacity buffer on construction.
  • SegQueue, an unbounded MPMC queue that allocates small buffers, segments, on demand.

Structsยง

  • A bounded multi-producer multi-consumer queue.
  • An unbounded multi-producer multi-consumer queue.