Routines controlling threads in the current contention group. They have C linkage and do not throw exceptions.
omp_set_num_threads – Set upper team size limitomp_get_num_threads – Size of the active teamomp_get_max_threads – Maximum number of threads of parallel regionomp_get_thread_num – Current thread IDomp_in_parallel – Whether a parallel region is activeomp_set_dynamic – Enable/disable dynamic teamsomp_get_dynamic – Dynamic teams settingomp_get_cancellation – Whether cancellation support is enabledomp_set_nested – Enable/disable nested parallel regionsomp_get_nested – Nested parallel regionsomp_set_schedule – Set the runtime scheduling methodomp_get_schedule – Obtain the runtime scheduling methodomp_get_teams_thread_limit – Maximum number of threads imposed by teamsomp_get_supported_active_levels – Maximum number of active regions supportedomp_set_max_active_levels – Limits the number of active parallel regionsomp_get_max_active_levels – Current maximum number of active regionsomp_get_level – Obtain the current nesting levelomp_get_ancestor_thread_num – Ancestor thread IDomp_get_team_size – Number of threads in a teamomp_get_active_level – Number of parallel regions