HOME
| OPENMP API Specification: Version 5.0 November 2018

3.2.9  omp_get_cancellation

SummaryThe omp_get_cancellation routine returns the value of the cancel-var ICV, which determines if cancellation is enabled or disabled.

Format

SVG-Viewer needed.

 

 
int omp_get_cancellation(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
logical function omp_get_cancellation()  

SVG-Viewer needed.

BindingThe binding task set for an omp_get_cancellation region is the whole program.

EffectThis routine returns true if cancellation is enabled. It returns false otherwise.

Cross References