Unbounded Queues
-
Declaration
Swift
public protocol AtomicUnboundedQueueProtocol : AtomicQueueProtocol
-
A FIFO queue that is safe to share among multiple producers and a single consumer.
This is an implementation of
See morenon-intrusive MPSC queue
from 1024cores.net.Declaration
Swift
public final class AtomicUnboundedMPSCQueue<T> : AtomicUnboundedQueueProtocol
-
A FIFO queue that is safe to share between a single producer and a single consumer.
This is an implementation of
See moreunbounded SPSC queue
from 1024cores.net, with a modification for caching nodes lifted from Rust’s stdlib.Declaration
Swift
public final class AtomicUnboundedSPSCQueue<T> : AtomicUnboundedQueueProtocol