Skip to content

SingleConsumerQueue

Ben Manes edited this page Oct 26, 2024 · 3 revisions

Deprecated in 2.8.6, removed in 3.0, in favor of JCTools.

A lock-free queue that supports concurrent producers and is restricted to a single consumer. This implementation employs a combining backoff arena to reduce contention caused by multiple producers. The benefit of using an arena is demonstrated by adapting this benchmark where the backoff strategy was manually disabled.

Clone this wiki locally