concurrentqueue
concurrentqueue copied to clipboard
Why not provide the wait_enqueue API? Is there any difficulty?
When I use blockingconcurrentqueue , I notice that the wait_enqueue API is not provided, which will blocks when it find no space.
What I want to know is, are we not implementing the API because of any difficulties or is it difficult to implement the API in the current implementation?
It would be non-trivial to implement. See #53.
There would also be extra overhead for every enqueue and dequeue operation.
Thank you. I should have searched the content of closed issue first, so I bothered you.
No bother!