omp_in_parallel
- Updated2023-02-21
- 1 minute(s) read
omp_in_parallel
int omp_in_parallel (void);
Purpose
Returns whether or not this function is called from an active parallel region.
![]() |
Note The OpenMP Run-Time Library is available only in the LabWindows/CVI Full Development System. |
An active parallel region is one whose if clause evaluates to TRUE. If a region does not specify an if clause, this function returns TRUE.
This function always returns FALSE if called from the sequential part of the application.
Binding thread set: all threads
Parameters
None.
Return Value
Name | Type | Description |
returnValue | int | Returns TRUE if this function is called from within an active parallel region. Otherwise it returns FALSE. |
Additional Information
Library: OpenMP Run-Time Library
Include file: omp.h
LabWindows/CVI compatibility: LabWindows/CVI 2013 and later