Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
12 Views

Thread Pool

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
Highlighted
Black Belt
12 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).
0 Kudos
Highlighted
Valued Contributor II
12 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...
0 Kudos