Next: , Previous: omp_in_parallel, Up: Runtime Library Routines


2.21 omp_in_final – Whether in final or included task region

Description:
This function returns true if currently running in a final or included task region, false otherwise. Here, true and false represent their language-specific counterparts.
C/C++:

Prototype: int omp_in_final(void);

Fortran:

Interface: logical function omp_in_final()

Reference:
OpenMP specification v4.0, Section 3.2.21.