4.3 OMP_CANCELLATION – Set whether cancellation is activated

ICV: cancel-var
Scope: global
Description:

If set to TRUE, the cancellation is activated. If set to FALSE or if unset, cancellation is disabled and the cancel construct is ignored.

See also:

omp_get_cancellation – Whether cancellation support is enabled

Reference:

OpenMP specification v4.5, Section 4.11