OpenMP Functions
Provides links to functions used in the OpenMP API.
The Visual C++ implementation of the OpenMP standard includes the following functions.
Function |
Description |
---|---|
Uninitializes a lock. |
|
Uninitializes a nestable lock. |
|
Returns a value that indicates if the number of threads available in subsequent parallel region can be adjusted by the run time. |
|
Returns an integer that is equal to or greater than the number of threads that would be available if a parallel region without num_threads were defined at that point in the code. |
|
Returns a value that indicates if nested parallelism is enabled. |
|
Returns the number of processors that are available when the function is called. |
|
Returns the number of threads in the parallel region. |
|
Returns the thread number of the thread executing within its thread team. |
|
Returns the number of seconds between processor clock ticks. |
|
Returns a value in seconds of the time elapsed from some point. |
|
Returns nonzero if called from within a parallel region. |
|
Initializes a simple lock. |
|
Initializes a lock. |
|
Indicates that the number of threads available in subsequent parallel region can be adjusted by the run time. |
|
Blocks thread execution until a lock is available. |
|
Blocks thread execution until a lock is available. |
|
Enables nested parallelism. |
|
Sets the number of threads in subsequent parallel regions, unless overridden by a num_threads clause. |
|
Attempts to set a lock but does not block thread execution. |
|
Attempts to set a nestable lock but does not block thread execution. |
|
Releases a lock. |
|
Releases a nestable lock. |