Next:
OMP_WAIT_POLICY
, Previous:
OMP_SCHEDULE
, Up:
Environment Variables
3.12
OMP_THREAD_LIMIT
– Set the maximum number of threads
Description
:
Specifies the number of threads to use for the whole program. The value of this variable shall be a positive integer. If undefined, the number of threads is not limited.
See also
:
OMP_NUM_THREADS
,
omp_get_thread_limit
Reference
:
OpenMP specification v4.0
, Section 4.10