Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
Returns a value that indicates if the number of threads available in subsequent parallel region can be adjusted by the run time.
Syntax
int omp_get_dynamic();
Return Value
If nonzero, dynamic adjustment of threads is enabled.
Remarks
Dynamic adjustment of threads is specified with omp_set_dynamic and OMP_DYNAMIC.
For more information, see 3.1.7 omp_set_dynamic Function.
Example
See omp_set_dynamic for an example of using omp_get_dynamic
.