Community
cancel
Showing results for 
Search instead for 
Did you mean: 
idan192
Beginner
53 Views

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
0 Kudos
1 Reply
Dmitry_Vyukov
Valued Contributor I
53 Views

> 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.


Reply