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 .. index:: Environment Variable
10 OMP_THREAD_LIMIT -- Set the maximum number of threads
11 *****************************************************
14 Specifies the number of threads to use for the whole program. The
15 value of this variable shall be a positive integer. If undefined,
16 the number of threads is not limited.
19 :ref:`OMP_NUM_THREADS`, :ref:`omp_get_thread_limit`
22 :openmp:`4.5`, Section 4.10