Thread Pool

Thread Pool


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 nouveau(x)
Dernière contribution
Reportez-vous à notre Notice d'optimisation pour plus d'informations sur les choix et l'optimisation des performances dans les produits logiciels Intel.

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

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

Laisser un commentaire

Veuillez ouvrir une session pour ajouter un commentaire. Pas encore membre ? Rejoignez-nous dès aujourd’hui