]> git.ipfire.org Git - thirdparty/gcc.git/blob - libgomp/doc/openmp-environment-variables/ompthreadlimit.rst
sphinx: add missing trailing newline
[thirdparty/gcc.git] / libgomp / doc / openmp-environment-variables / ompthreadlimit.rst
1 ..
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.
5
6 .. index:: Environment Variable
7
8 .. _omp_thread_limit:
9
10 OMP_THREAD_LIMIT -- Set the maximum number of threads
11 *****************************************************
12
13 Description:
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.
17
18 See also:
19 :ref:`OMP_NUM_THREADS`, :ref:`omp_get_thread_limit`
20
21 Reference:
22 :openmp:`4.5`, Section 4.10