Module nolock::queues::mpsc::jiffy [−][src]
Expand description
The implemenation of a Lock-Free, possibly Wait-Free, unbounded MPSC Queue
Examples:
use nolock::queues::mpsc::jiffy; // Create a new Queue let (mut rx, tx) = jiffy::queue(); // Enqueue some Data tx.enqueue(13); // Dequeue the Data again assert_eq!(Ok(13), rx.try_dequeue());
Reference:
Structs
This is the asynchronous Version of the Jiffy-Receiver
This is the asynchronous Version of the Jiffy-Sender
This is the Future returend by the Dequeue
operation on the AsyncReceiver
Iterator for all Elements from the Queue
The Single Receiver of a Jiffy-Queue, created by calling queue
Iterator for all Elements from the Queue
One of the Sender, created by calling queue
Functions
Creates an async Jiffy-Queue Pair of (AsyncReceiver
, AsyncSender
)