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.
8 omp_in_parallel -- Whether a parallel region is active
9 ******************************************************
12 This function returns ``true`` if currently running in parallel,
13 ``false`` otherwise. Here, ``true`` and ``false`` represent
14 their language-specific counterparts.
20 - ``int omp_in_parallel(void);``
26 - ``logical function omp_in_parallel()``
29 :openmp:`4.5`, Section 3.2.6.