concurrentqueue icon indicating copy to clipboard operation
concurrentqueue copied to clipboard

When there is lot of enqueue , it fails

Open abhit011 opened this issue 8 months ago • 10 comments

I have been using queue like this

parallelQueue::ConcurrentQueue<myDS,mYTraits> *pMPSC_consume;

pMPSC_consume = new ConcurrentQueue(PARALLEL_QUEUE_MAX_NODES, 0, enteredNoOfThreads);

and when i call pMPSC_consume->try_enqueue() , its failing at times ....

I have given PARALLEL_QUEUE_MAX_NODES and even at times there are close to like max 10K to 20K in loop, but even then the try_enqueue fails , please let me know what i need to do to handle this

thanks

abhit011 avatar Apr 24 '25 06:04 abhit011