The OMP_WAIT_POLICY environment variable gives hints to the compiler about the preferred behavior of waiting threads during program run time. The OMP_WAIT_POLICY environment variable sets the wait-policy-var internal control variable value.
.-PASSIVE-. >>-OMP_WAIT_POLICY=--+-ACTIVE--+-------------------------------><
The default value for OMP_WAIT_POLICY is PASSIVE.
Use ACTIVE if you want waiting threads to be mostly active. With ACTIVE, the thread consumes processor cycles while waiting, if possible.
Use PASSIVE if you want waiting threads to be mostly passive. That is, the preference is for the thread to not consume processor cycles while waiting. For example, you prefer waiting threads to sleep or to yield the processor to other threads.