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.
6 .. _omp_get_teams_thread_limit:
8 omp_get_teams_thread_limit -- Maximum number of threads imposed by teams
9 ************************************************************************
12 Return the maximum number of threads that will be able to participate in
13 each team created by a teams construct.
19 - ``int omp_get_teams_thread_limit(void);``
25 - ``integer function omp_get_teams_thread_limit()``
28 :ref:`omp_set_teams_thread_limit`, :ref:`OMP_TEAMS_THREAD_LIMIT`
31 :openmp:`5.1`, Section 3.4.6.