Hacker GitHub

← All repos

cameron314/concurrentqueue

View on GitHub ↗ ★ 12,533 C++

A fast multi-producer, multi-consumer lock-free concurrent queue for C++11

9 mentions on Hacker News by 6 people: 2 stories, 7 comments · first 2016-12-05 · latest 2026-08-04

Mentions per year 9 mentions · busiest year 2020 (3)
20082026
  1. …you give up control and sometimes end up throwing hands in the AIIR and hope it will not break. > https://github.com/cameron314/concurrentqueue Thanks for the pointers to what is probably 5K lines of C++ boilerplate. But I have written…
  2. …it goes out of scope. If you want some good concurrent queues for C++, look at this person's work: https://github.com/cameron314/concurrentqueue
    comment by CyberDildonics · 2026-08-04 · in The PImpl idiom and the C++26 std:indirect type
  3. …parallelism lib and pass things by value with libs such as https://github.com/taskflow/taskflow , https://github.com/cameron314/concurrentqueue ...
    comment by jcelerier · 2021-03-19 · in The biggest threat to Rust's sustainability
  4. …to be unless you have a need to go down to std::thread level, but even then using something like https://github.com/cameron314/concurrentqueue to communicate between threads makes things extremely painless.
    comment by jcelerier · 2020-12-29 · in Functional programming in C++ (2012)
  5. …lockfree containers though I use https://github.com/cameron314/readerwriterqueue and https://github.com/cameron314/concurrentqueue ; they deliver.
    comment by jcelerier · 2020-12-01 · in ARM and Lock-Free Programming
  6. A simple pattern I follow for C++ concurrency is to have each thread run an event loop and use https://github.com/cameron314/concurrentqueue as `concurrentqueue<std::function<void()>` for execution of code in the other thread ; I don't…
  7. …get huge gains[1] in performance. Specific use cases will have better specific solutions. [1]: e.g. https://github.com/cameron314/concurrentqueue