Next: omp_in_final, 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(void);
|
Interface: | logical function omp_in_parallel()
|