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
20082026
-
…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…
comment by jstimpfle · 2026-08-04 · in The PImpl idiom and the C++26 std:indirect type -
…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 -
…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 -
…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) -
…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 -
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…
comment by jcelerier · 2018-06-09 · in First Impressions of the Rust Programming Language -
…get huge gains[1] in performance. Specific use cases will have better specific solutions. [1]: e.g. https://github.com/cameron314/concurrentqueue
comment by geocar · 2016-12-27 · in Finger Trees: A Simple General-Purpose Data Structure (2006)