concurrentqueue
concurrentqueue copied to clipboard
How to use Concurrent queue with std::vector
I have to create new queue with each thread creation. The number of queues which will be created is not fixed . Therefore I can't use static array. So i wanted to ask how to use concurrent queue with std::vector.? How to initialize & pass values for min elements , no of producers .?
Look into thread_local.