AtomicUnboundedSPSCQueue

public final class AtomicUnboundedSPSCQueue<T> : AtomicUnboundedQueueProtocol

A FIFO queue that is safe to share between a single producer and a single consumer.

This is an implementation of unbounded SPSC queue from 1024cores.net, with a modification for caching nodes lifted from Rust’s stdlib.