concurrentqueue
concurrentqueue copied to clipboard
A fast multi-producer, multi-consumer lock-free concurrent queue for C++11
add c_api/concurrentqueue.cpp to Xcode project
Added cmake support. Did not touch xcode/msvc since I dont have access to this. gnu makefile - modified but did not try it out (will give it a shot -...
Added cmake support. Tested on Ubuntu Linux (17.04) using gcc. Any other non-Linux platform or compiler variation will need a tiny bit of work to get it going. In addition,...
Added instructions for installing and using on Debian 11 (Linux).
Two threads: one thread continuously generates data per 10ms about and enqueue(); the other thread continuously reads data and processes it. If the queue is empty, it will sleep for...
```c++ // class CatAccountService member: // consumer queue moodycamel::BlockingConcurrentQueue account_queue_con_task; // producer queue,will init with fixed numbers of elements:128 moodycamel::ConcurrentQueue account_queue_pro_task; ``` when in producer thread: 1: get element from...
My use case is that I have one function which will enqueue data in the queue & I have multiple threads which will dequeue & use this data at the...
`/usr/include/linux/fs.h` does this: ``` #define BLOCK_SIZE_BITS 10 #define BLOCK_SIZE (1
Can I use moodycamel::ConcurrentQueue with only the BSD license and not the BSL license? Or do I have to use both licenses together?