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()
|