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 multi-producer, single-consumer (MPSC) queue, implemented using a lock-free intrusive singly-linked list.
OwnedConsumer
alloc
An owned handle that holds the right to dequeue elements from the queue.
Enums
Errors returned by MpscQueue::try_dequeue
and Consumer::try_dequeue
.