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§
- Consumer
- A handle that holds the right to dequeue elements from a
MpscQueue. - Links
- Links to other nodes in a
MpscQueue. - Mpsc
Queue - A multi-producer, single-consumer (MPSC) queue, implemented using a lock-free intrusive singly-linked list.
- Owned
Consumer - An owned handle that holds the right to dequeue elements from the queue.
Enums§
- TryDequeue
Error - Errors returned by
MpscQueue::try_dequeueandConsumer::try_dequeue.