Поделиться через


omp_get_dynamic

Returns a value that indicates if the number of threads available in subsequent parallel region can be adjusted by the run time.

int omp_get_dynamic();

Возвращаемое значение

If nonzero, dynamic adjustment of threads is enabled.

Заметки

Dynamic adjustment of threads is specified with omp_set_dynamic and OMP_DYNAMIC.

For more information, see 3.1.7 omp_set_dynamic Function.

Пример

See omp_set_dynamic for an example of using omp_get_dynamic.

См. также

Основные понятия

OpenMP Functions