Next: , Previous: omp_get_ancestor_thread_num, Up: Runtime Library Routines


2.3 omp_get_cancellation – Whether cancellation support is enabled

Description:
This function returns true if cancellation is activated, false otherwise. Here, true and false represent their language-specific counterparts. Unless OMP_CANCELLATION is set true, cancellations are deactivated.
C/C++:

Prototype: int omp_get_cancellation(void);

Fortran:

Interface: logical function omp_get_cancellation()

See also:
OMP_CANCELLATION
Reference:
OpenMP specification v4.5, Section 3.2.9.