omp_get_cancellation – Whether cancellation support is enabled¶
Description:
This function returns
true
if cancellation is activated,false
otherwise. Here,true
andfalse
represent their language-specific counterparts. UnlessOMP_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.