How to determine was scheduler initialized and how determine num of threads.

How to determine was scheduler initialized and how determine num of threads.

Hi everybody!
I have a question - I initialize scheduler on test and program know nothing about task_scheduler_init object( i can't call init.is_active function) . How to determine was scheduler initialized and number of threads? Is there some static methods or BKM's?
Thanks for your help!

2 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

Hello,I believe you can usetask_scheduler_observer class for this.http://software.intel.com/en-us/blogs/2008/05/19/under-the-hood-building-hooks-to-explore-tbb-task-scheduler/--Vladimir

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi