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

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

Nickolai_Knyazev__In
148 Views
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!
0 Kudos
1 Reply
Vladimir_P_Intel2
148 Views
Hello,
I believe you can usetask_scheduler_observer class for this.
--Vladimir
Reply