This documentation is archived and is not being maintained.

omp_get_dynamic 

Returns a value that indicates if the number of threads available in subsequent parallel region can be adjusted by the run time.


int omp_get_dynamic();

If nonzero, dynamic adjustment of threads is enabled.

Dynamic adjustment of threads is specified with omp_set_dynamic and OMP_DYNAMIC.

For more information, see 3.1.7 omp_set_dynamic Function.

See omp_set_dynamic for an example of using omp_get_dynamic.

Show: