int omp_get_dynamic(void);
Summary The omp_get_dynamic routine returns the value of the dyn-var ICV, which determines whether dynamic adjustment of the number of threads is enabled or disabled.
Binding The binding task set for an omp_get_dynamic region is the generating task.
Effect This routine returns true if dynamic adjustment of the number of threads is enabled for the current task; it returns false, otherwise. If an implementation does not support dynamic adjustment of the number of threads, then this routine always returns false.