]> git.ipfire.org Git - thirdparty/gcc.git/blame - libgomp/doc/openmp-environment-variables/ompthreadlimit.rst
sphinx: copy files from texi2rst-generated repository
[thirdparty/gcc.git] / libgomp / doc / openmp-environment-variables / ompthreadlimit.rst
CommitLineData
c63539ff
ML
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
10OMP_THREAD_LIMIT -- Set the maximum number of threads
11*****************************************************
12
13Description:
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
18See also:
19 :ref:`OMP_NUM_THREADS`, :ref:`omp_get_thread_limit`
20
21Reference:
22 :openmp:`4.5`, Section 4.10