concurrentqueue
« Back to VersTracker
Description:
Fast multi-producer, multi-consumer lock-free concurrent queue for C++11
Type: Formula  |  Latest Version: 1.0.4@0  |  Tracked Since: Dec 17, 2025
Links: Homepage  |  formulae.brew.sh
Category: Developer tools
Tags: c++ concurrency lock-free queue header-only multithreading
Install: brew install concurrentqueue
About:
ConcurrentQueue is a C++11 header-only library providing a highly efficient, lock-free concurrent queue. It is designed for high-performance scenarios, offering low-latency operations with minimal overhead. The library supports both single-producer/single-consumer and multi-producer/multi-consumer patterns.
Key Features:
  • Header-only library (no compilation required)
  • Lock-free and wait-free operations for high throughput
  • Supports multiple producers and consumers
  • Memory-efficient with dynamic sizing options
Use Cases:
  • Real-time data processing pipelines
  • High-frequency trading systems
  • Multithreaded game engines
  • Asynchronous task scheduling
Alternatives:
  • boost::lockfree::queue – Boost provides similar functionality but requires linking against the larger Boost libraries, whereas ConcurrentQueue is a lightweight, single-header solution.
  • folly::MPMCQueue – Facebook's Folly library offers robust queue implementations but has a heavier dependency footprint compared to the standalone ConcurrentQueue.
License: (BSD-2-Clause OR BSL-1.0) AND Zlib
Bottles available for: all
Version History
Detected Version Rev Change Commit