Thread Pool

Thread Pool

imagem de Mathew P.

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?

3 posts / 0 new
Último post
Para obter mais informações sobre otimizações de compiladores, consulte Aviso sobre otimizações.
imagem de Raf Schietekat

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

imagem de Sergey Kostrov

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

Faça login para deixar um comentário.