Module cordyceps::mpsc_queue

source ·
Expand description

A multi-producer, single-consumer (MPSC) queue, implemented using a lock-free intrusive singly-linked list.

See the documentation for the MpscQueue type for details.

Based on Dmitry Vyukov’s intrusive MPSC.

Structs§

  • A handle that holds the right to dequeue elements from a MpscQueue.
  • Links to other nodes in a MpscQueue.
  • A multi-producer, single-consumer (MPSC) queue, implemented using a lock-free intrusive singly-linked list.
  • An owned handle that holds the right to dequeue elements from the queue.

Enums§