Next: GOMP_CPU_AFFINITY
– Bind threads to specific CPUs, Previous: OMP_THREAD_LIMIT
– Set the maximum number of threads, Up: OpenMP Environment Variables [Contents][Index]
OMP_WAIT_POLICY
– How waiting threads are handledSpecifies whether waiting threads should be active or passive. If
the value is PASSIVE
, waiting threads should not consume CPU
power while waiting; while the value is ACTIVE
specifies that
they should. If undefined, threads wait actively for a short time
before waiting passively.
OpenMP specification v4.5, Section 4.8