# concurrentqueue (moodycamel::ConcurrentQueue)

> A fast multi-producer, multi-consumer lock-free queue for C++11 in a single header

Source: https://talira.ai/catalog/concurrentqueue-moodycamel-concurrentqueue-qv99636e
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [libraries / concurrency](https://talira.ai/categories/libraries/concurrency)
- Licence: BSD-2-Clause OR BSL-1.0[^3]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Cameron Desrochers](https://talira.ai/orgs/cameron314.md)

concurrentqueue (moodycamel::ConcurrentQueue) is a fast multi-producer, multi-consumer lock-free concurrent queue for C++11. The whole queue is one header you drop into a project, with a separate header for a low-overhead blocking version (BlockingConcurrentQueue). It supports very fast bulk enqueueing and dequeueing and producer and consumer tokens. It's dual-licensed under the Simplified BSD licence or the Boost Software License, at your choice.

## Links

- GitHub: https://github.com/cameron314/concurrentqueue

## Ways to install

### Package managers

- [Homebrew](https://talira.ai/catalog/homebrew-djy17yn9.md): <https://formulae.brew.sh/formula/concurrentqueue>[^1]

## Problems it solves

- a fast lock-free queue to pass work between threads in C++
- multi-producer multi-consumer queue for C++11 without a mutex
- a header-only concurrent queue I can drop into my C++ project

## Features

- lock-free multi-producer, multi-consumer queue
- single header, no build step
- fast bulk enqueue and dequeue
- a blocking version in its own header

## Trust

Overall: 0.56 out of 1.
Signals: maintenance 0.65, adoption 0.82, momentum 0.59, community 0.71, backing 0.30, extensibility 0.00.

- last commit yesterday
- 7 commits in the last 90 days
- latest release v1.0.5 8 months ago
- 12.5k GitHub stars
- 58 contributors
- 10 Homebrew installs in 30 days
- backed by Cameron Desrochers

## Alternatives

- [Taskflow](https://talira.ai/catalog/taskflow-7twzmg5m.md): Header-only C++ library for task-parallel programs on CPUs and GPUs

## Sources

[^1]: https://formulae.brew.sh/api/formula.json (checked 30 Nov 2026)
[^2]: https://github.com/cameron314/concurrentqueue/blob/master/README.md (checked 30 Nov 2026)
[^3]: https://github.com/cameron314/concurrentqueue/blob/master/LICENSE.md (checked 30 Nov 2026)
