Module mecca.containers.otm_queue

Lock free one-to-many queues

Structs

NameDescription
DuplexQueue Request/response construct for sending requests from one requester to multiple worker threads
MCSPQueue Multiple consumers single producer queue
SCMPQueue Lock-free 1-to-many queue, either single consumer multi producers, or single producer multi consumers. The queue sacrifices fairness to efficiency. The size of the queue should be much larger than the thread count to make sure all threads get the produce. The consuming part is naturally not as important, as we're willing to "waste" threads as long as the queue is constantly depleted.