HOME
| OPENMP API Specification: Version 5.1 November 2020

3.5.2  omp_in_final

Summary The omp_in_final routine returns true if the routine is executed in a final task region; otherwise, it returns false.

Format

SVG-Viewer needed.

 

 
int omp_in_final(void);  

SVG-Viewer needed.

SVG-Viewer needed.

 

 
logical function omp_in_final()  

SVG-Viewer needed.

Binding The binding task set for an omp_in_final region is the generating task.

Effect omp_in_final returns true if the enclosing task region is final. Otherwise, it returns false.

Cross References