Top "Concurrent-queue" questions

Concurrent Queue is thread-safe first in - first out (FIFO) collection.

Try Dequeue in ConcurrentQueue

The TryDequeue in ConcurrentQueue will return false if no items in Queue. If the Queue is empty I need that …

c# producer-consumer concurrent-queue
Is it safe to put TryDequeue in a while loop?

I have not used concurrent queue before. Is it OK to use TryDequeue as below, in a while loop? Could …

c# task-parallel-library concurrent-queue
How to multithread queue processing

C++ containers are supposed to be thread-safe by default. I must be using queue to multithread incorrectly because for this …

c++ multithreading c++11 concurrent-queue
ConcurrentQueue with multithreading

I am new to multi threading concepts. I need to add certain number of strings to a queue and process …

c# multithreading concurrent-queue
ConcurrentQueue and Parallel.ForEach

I have a ConcurrentQueue with a list of URLs that I need to get the the source of. When using …

c# parallel.foreach concurrent-queue