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