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

Specific task prioritization

Sergey_N_
Beginner
202 Views

Hi,

I'm pretty new to tbb, and may be missing something, but my problem is the following:

I have a set of specific computations which I need to start computing only(!) when there is nothing else for tbb to do. How can I achieve that using TBB ?

Thank you for your help!

Sergey.

0 Kudos
1 Reply
RafSchietekat
Valued Contributor III
202 Views

Consider "void enqueue ( task& t, priority_t p ) const".

0 Kudos
Reply