Next: , Up: Runtime Library Routines


2.1 omp_get_active_level – Number of parallel regions

Description:
This function returns the nesting level for the active parallel blocks, which enclose the calling call.
C/C++

Prototype: int omp_get_active_level();

Fortran:

Interface: integer omp_get_active_level()

See also:
omp_get_level, omp_get_max_active_levels, omp_set_max_active_levels
Reference:
OpenMP specifications v3.0, section 3.2.19.