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

Is there a way to wait (using the blocking variant) without dequeuing from the container?

Hi dear developer, Have you ever considered replacing the LightweightSemaphore in BlockingConcurrentQueue with a LIFO one to reduce unnecessary thread wake-ups in usage scenarios similar to threadpool?

just include "concurrentqueue/concurrentqueue.h" when cmake program errors appears: /opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h: In static member function ‘static U* moodycamel::ConcurrentQueue::create_array(moodycamel::ConcurrentQueue::size_t)’: /opt/vcpkg/installed/x64-linux/include/concurrentqueue/concurrentqueue.h:3612:40: error: expected type-specifier before ‘;’ token 3612 | new (p + i) U();...

Why try_dequeue functions of blocking queue use while instead of if? when inner.try_dequeue(item) return false, it will never get out.

Every ProducerToken is associated with an inner SPMC queue, while ConsumerToken chooses the best suitable SPMC when the holding thread begins starvation if the originally chosen queue is empty at...

Hi Sorry for the previous issue(mistakenly opened with a wrong user) We are using concurrentqueue in our trading application for transfering data between threads, and we are very pleased about...

Hello all, Anyone with experience on QNX? It fails with the unsupported system when it tries to define the Semaphore wrapper. QNX probably does not have __unix__ defined. I'd be...

I did my own statistics when using concurrentqueue, and occasionally there was a problem that the remaining data could not be taken out of the queue. The detail is: After...

I am willing to use the concurrent queue for a low latency network application. Overall, I need to enqueue network packets on one thread, and decode them in another thread...

I have multi producers and multi consumers, while producers and consumers are in different threads. How to use tokens to maximum the performance? Could u please give me some advices.