09-23-2010 05:24 AM
Thanks for the reply. I am looking to migrate an existing library using pthreads which has a concurrent_deque to use TBB. Is there any plans to implement the concurrent_deque container in TBB? If not, can you tell me if there is any existing TBB container that could be adapted to mimic the functionality?
09-27-2010 12:32 PM
For now, there is no concurrent container in TBB that would allow push() and pop() from two "ends", and no near-term plans to add such. I can only suggest the obvious "use a deque protected with a lock".
09-30-2010 11:43 AM
It would be interesting to know whether the container being referred to currently provides better performance than a locked deque, or just locking sugar (wrapping each call with a call to the lock).