omp_set_dynamic
void omp_set_dynamic(int dynamic_threads)
This function enables or disables dynamic adjustment of the number of threads available for execution of parallel regions.
OpenMP API Index