Next: omp_get_default_device
– Get the default device for target regions, Previous: omp_get_ancestor_thread_num
– Ancestor thread ID, Up: OpenMP Runtime Library Routines [Contents][Index]
omp_get_cancellation
– Whether cancellation support is enabledThis 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.
Prototype: | int omp_get_cancellation(void); |
Interface: | logical function omp_get_cancellation() |
OpenMP specification v4.5, Section 3.2.9.