Lockless MPSC/SPMC/MPMC queues are not queues
Blog Published Aug 16, 2025 • Last updated Sep 25, 2025 • 10 min read Lockless queues let multiple cores communicate with each other without mutexes, typically to move work around for parallel processing. They come in four variants: {single,multi} -producer {single,multi} -consumer. A producer gives data to a consumer, each of which can be limited to a single thread (i.e. a single- {producer,consumer} ) or shared across multiple threads. But only the single-producer single-consumer (SPSC) queu