cameron314/concurrentqueue
A fast multi-producer, multi-consumer lock-free concurrent queue for C++11 observed · 2026-08-28
Health v2 · maintenance only
77/100
- Activity 92
- Release rhythm 45
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 4318
- days_rel: 152
- days_push: 53
- n_releases_24m: 1
Adoption not part of the score
12466 stars · 1929 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
moodycamel::ConcurrentQueue is a fast, industrial-strength multi-producer multi-consumer lock-free queue for C++11, implemented as a single header. It supports bulk operations, a blocking variant, and is fully portable with no assembly.
Use cases
- pass messages between threads without locks
- implement a work queue for a thread pool
- share data between producers and consumers in C++
- replace Boost.Lockfree or TBB queues with fewer element type restrictions
- enqueue and dequeue items in bulk for high-throughput pipelines
When to choose
- you need a fast, thread-safe MPMC queue in C++11 or later
- you want a header-only dependency with no build step
- you need bulk enqueue/dequeue performance under heavy contention
- your elements have non-trivial constructors, destructors, or assignment operators
When to avoid
- you need strict linearizability or global FIFO ordering across coordinated producers
- you can avoid sharing data between threads entirely
- you need a single-producer single-consumer queue (a simpler specialized queue exists)
- you need a queue with built-in distributed or cross-process semantics
Facets
library · maturity stable
concurrency developer-tools performance cpp cross-platform lock-free queue header-only multi-producer multi-consumer thread-safe cpp11 algorithms
1 source
- readme: https://github.com/cameron314/concurrentqueue · fetched 2026-08-28 · ca7f849b6205
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cameron314/concurrentqueue | main | 77 |
For agents
markdown · JSON · MCP: product_card(name="cameron314/concurrentqueue")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem