int omp_get_dynamic(void);
SummaryThe 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.
BindingThe binding task set for an omp_get_dynamic region is the generating task.
EffectThis 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.