libgomp: omp_get_cancellation
1
1 2.3 'omp_get_cancellation' - Whether cancellation support is enabled
1 ====================================================================
1
1 _Description_:
1 This function returns 'true' if cancellation is activated, 'false'
1 otherwise. Here, 'true' and 'false' represent their
1 language-specific counterparts. Unless 'OMP_CANCELLATION' is set
1 true, cancellations are deactivated.
1
1 _C/C++_:
1 _Prototype_: 'int omp_get_cancellation(void);'
1
1 _Fortran_:
1 _Interface_: 'logical function omp_get_cancellation()'
1
1 _See also_:
1 ⇒OMP_CANCELLATION
1
1 _Reference_:
1 OpenMP specification v4.5 (http://www.openmp.org/), Section 3.2.9.
1