Next: omp_set_dynamic, Previous: omp_get_thread_num, Up: Runtime Library Routines
omp_in_parallel
– Whether a parallel region is activetrue
if currently running in parallel,
false
otherwise. Here, true
and false
represent
their language-specific counterparts.
Prototype: | int omp_in_parallel();
|
Interface: | logical function omp_in_parallel()
|