HOME
| OPENMP API Specification: Version 5.1 November 2020

3.2.8  omp_get_cancellation

Summary The 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.

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

Effect This routine returns true if cancellation is enabled. It returns false otherwise.

Cross References