-
Hello, I have this scene: a single-producer, multi-consumer, and these consumer thread execute alternately. That is to say, only one consumer thread is using the queue at any time, which lock-free qu…
-
Implement a single-producer, single-consumer lock-free queue container and its corresponding policy.
As unbounded queues have reduced real-time applications, the lock-free queue may be bounded.
…
-
Currently, the engine uses atomic operations for pushes to the work queue, but not for pops. Experiment with a lock-free queue for potentially better performance.
-
Hey!
Thanks for sharing. I was wondering if there are any implementations of a lock-free linked list or if you are planning on adding one?
Thanks
-
I tried using this lock free queue in our program, but the performance of the task was even worse.
Our program scenario involves multiple queues, each with a fixed number of elements. After an elem…
-
I'm curious to see if a lock-free queue significantly improves performance for the thread pool. We should do some tests with industry standard lock free queues in combination with `std::move_only_func…
-
In theory, it is a queue without waiting, which supports multi-threaded reading and writing. Of course, the disadvantage is that the order of entering the queue may not be strongly ordered.
```cpp
…
-
When the error label in fixed_queue_new is jumped to, fixed_queue_free gets called pasing ret that might contain NULL pointers: ret->enqueue_sem or ret->dequeue_sem.
In fixed_queue_free, NULLs are no…
-
why not use lock free concurrent queue instead of lock queue?
-
The current MPMC lock-free queue is a nice engineering, but we always use per-cpu queues to push a work to a particular CPU, i.e. we use only MPSC case. MPMC queue has more synchronization overhead on…