2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
6 .. _omp_get_active_level:
8 omp_get_active_level -- Number of parallel regions
9 **************************************************
12 This function returns the nesting level for the active parallel blocks,
13 which enclose the calling call.
19 - ``int omp_get_active_level(void);``
25 - ``integer function omp_get_active_level()``
28 :ref:`omp_get_level`, :ref:`omp_get_max_active_levels`, :ref:`omp_set_max_active_levels`
31 :openmp:`4.5`, Section 3.2.20.