readerwriterqueue
readerwriterqueue copied to clipboard
Assertion `!inSection && "Concurrent (or re-entrant) enqueue or dequeue operation detected (only one thread at a time may hold the producer or consumer role)
WHy is this issue coming. If it's lockfree the two threads even if they are trying to enqueue dequeue at the same time are expected synchronized
Are two or more threads enqueueing concurrently? Are two or more threads dequeueing concurrently? Please provide a sample that reproduces the problem.