HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.8  omp_get_dynamic

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.

Format

SVG-Viewer needed.

 

 
int omp_get_dynamic(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
logical function omp_get_dynamic()  

SVG-Viewer needed.

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.

Cross References