2 Copyright 1988-2022 Free Software Foundation, Inc.
3 This is part of the GCC manual.
4 For copying conditions, see the copyright.rst file.
8 omp_set_dynamic -- Enable/disable dynamic teams
9 ***********************************************
12 Enable or disable the dynamic adjustment of the number of threads
13 within a team. The function takes the language-specific equivalent
14 of ``true`` and ``false``, where ``true`` enables dynamic
15 adjustment of team sizes and ``false`` disables it.
21 - ``void omp_set_dynamic(int dynamic_threads);``
27 - ``subroutine omp_set_dynamic(dynamic_threads)``
29 - ``logical, intent(in) :: dynamic_threads``
32 :ref:`OMP_DYNAMIC`, :ref:`omp_get_dynamic`
35 :openmp:`4.5`, Section 3.2.7.