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

Thread Pool

Mathew_P_
Beginner
145 Views

Hi,

Does TBB create a single Thread pool when linked with 'n' binaries or a thread pool/binary ? 

For example I have multiple instances of the same the .dll in my application and this .dll uses tbb, so will there only be one single thread pool?

0 Kudos
2 Replies
RafSchietekat
Black Belt
145 Views
Assuring that is the main goal of presenting TBB as a dynamical library. (Added 2012-12-04) I'm agnostic about these multiple instances (really multiple copies in the working program, or just multiple copies in the file system with only one of them actually linked in, or a simple mistake in the question itself?), because I expect TBB to behave no different than the runtime library (having more than one new/delete pool tends to be a show stopper before you get to worry about more than one thread pool).
SergeyKostrov
Valued Contributor II
145 Views
>>...I have multiple instances of the same the .dll in my application... Could you explain how did you do this? For example in a Win32 application...
Reply