GNU libgomp: OMP_WAIT_POLICY

Next: GOMP_CPU_AFFINITY, Previous: OMP_THREAD_LIMIT, Up: Environment Variables [Contents][Index]

### 3.14 `OMP_WAIT_POLICY` – How waiting threads are handled

Description:

  Specifies 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.

See also:

  GOMP_SPINCOUNT

Reference:

  OpenMP specification v4.5, Section 4.8