Boost::Thread interoperability

Boost::Thread interoperability

Hi,I have looked at Boost::Thread API, it looks rather similar to TBB threads. The difference (from the user point of view) is that Boost::Thread have a rich API for threads, but nothing regarding task-based parallelism.If I'm not mistaken, threads have been added to TBB lately, right?I thought, is it possible to use Boost::Threads together with TBB? Has anybody ever tried to?Best,Idan

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

> If I'm not mistaken, threads have been added to TBB lately, right?

About 2 years ago, IIRC.

> I thought, is it possible to use Boost::Threads together with TBB? Has anybody ever tried to?

It should be Ok, TBB does not make any assumptions on what thread it's called from.


All about lock-free algorithms, multicore, scalability, parallel computing and related topics:
http://www.1024cores.net

Leave a Comment

Please sign in to add a comment. Not a member? Join today