concurrentqueue icon indicating copy to clipboard operation
concurrentqueue copied to clipboard

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

Results 81 concurrentqueue issues
Sort by recently updated
recently updated
newest added

I've been using this nice queue for a while now; one of my usages is as part of a log file writing system. I have a blocking concurrent queue where...

bug

1. If multiple threads are enqueued without explicit tokens, how to ensure that the order of enqueueing is the same as the order of enqueueing 2. How can I clear...

We currently have size_approx() and I understand how that works. However, I am finding that when I use this queue I frequently want to run some clean up code at...

https://github.com/cameron314/concurrentqueue/archive/8f65a8734d77c3cc00d74c0532efca872931d3ce.zip has a new md5sum, was there a change recently?

Hi, `concurrentqueue` does not compile if included after `` because the latter defines `BLOCK_SIZE` :( example: ``` $ echo ' #include #include "concurrentqueue.h" int main() {}' | g++ -x c++...

When my server run a couple of days, the cpu load will rise a lot, the thread stack is blow: Thread 1 (process 31689): #0 0x00007fabc470ad2f in do_futex_wait () from...

What kind of input parameters would cause such assertion failed ? I try to reproduce it but i failed. ![1983195403](https://user-images.githubusercontent.com/94610494/148388129-5f093d50-9f95-4956-86ab-c268dd461974.jpg)

This PR adds variants of `enqueue` and `try_enqueue` that construct queue elements in-place. This allows avoiding an extra move for potentially expensive to move objects. The next functions were added:...

`moodycamel::BlockingConcurrentQueue q2`; Too few parameters will be prompted. How to use it correctly?

question