Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Can I use tbb::thread?

robert_jay_gould
Beginner
612 Views

Quick question. Why is tbb::thread not part of the "disclosed" API? Currently I'm using Boost::thread, but was wondering if there might be any benefits in switching to tbb's thread, however since its not officially documented I was wondering if its not meant to be used by end-users, perhaps tbb's devs want to reserve the rights to swap the low level threading API as needed so it's not a reliable API, or something else like that.

Thanks

0 Kudos
1 Solution
RafSchietekat
Valued Contributor III
612 Views

It is documented in "Reference Manual (Open Source).pdf", currently version 1.9, with chapter 9 all about tbb_thread.

View solution in original post

0 Kudos
4 Replies
RafSchietekat
Valued Contributor III
612 Views

There is a documented tbb::tbb_thread; I have not (yet?) seen any tbb::thread.

0 Kudos
robert_jay_gould
Beginner
612 Views
Quoting - Raf Schietekat

There is a documented tbb::tbb_thread; I have not (yet?) seen any tbb::thread.

Sorry my typo :)

Anyways, so it is documented? I can't remember seeing a mention in the pdfs, but my memory might have had a lapse there.

0 Kudos
RafSchietekat
Valued Contributor III
613 Views

It is documented in "Reference Manual (Open Source).pdf", currently version 1.9, with chapter 9 all about tbb_thread.

0 Kudos
robert_jay_gould
Beginner
612 Views
Quoting - Raf Schietekat

It is documented in "Reference Manual (Open Source).pdf", currently version 1.9, with chapter 9 all about tbb_thread.

Thanks!

0 Kudos
Reply