MayaFlux 0.5.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ MPSCQueue

template<typename T , size_t Capacity>
using MayaFlux::Memory::MPSCQueue = typedef RingBuffer<T, FixedStorage<T, Capacity>, MPSCPolicy, QueueAccess>

Type alias: Lock-free MPSC queue with fixed capacity.

Template Parameters
TElement type.
CapacityBuffer size (must be power of 2).

Multiple concurrent producers, single consumer. Each producer claims a slot atomically; the consumer reads in claim order. Use for any context where multiple threads or RT callers write to a single draining worker.

Definition at line 1280 of file RingBuffer.hpp.