]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgomp/doc/openmp-runtime-library-routines/ompgetactivelevel.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / libgomp / doc / openmp-runtime-library-routines / ompgetactivelevel.rst
1 ..
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.
5
6 .. _omp_get_active_level:
7
8 omp_get_active_level -- Number of parallel regions
9 **************************************************
10
11 Description:
12 This function returns the nesting level for the active parallel blocks,
13 which enclose the calling call.
14
15 C/C++:
16 .. list-table::
17
18 * - *Prototype*:
19 - ``int omp_get_active_level(void);``
20
21 Fortran:
22 .. list-table::
23
24 * - *Interface*:
25 - ``integer function omp_get_active_level()``
26
27 See also:
28 :ref:`omp_get_level`, :ref:`omp_get_max_active_levels`, :ref:`omp_set_max_active_levels`
29
30 Reference:
31 :openmp:`4.5`, Section 3.2.20.