NAG CL Interface
x06afc returns if called from within an active OpenMP parallel region, and otherwise.
The function may be called by the names: x06afc or nag_omp_in_parallel.
x06afc, for multithreaded implementations, returns if called from within an active OpenMP parallel region, and otherwise.
In serial implementations of the NAG Library this function will always return
. See the X06 Chapter Introduction
for a discussion of the behaviour of these functions when called in serial.
Chapman B, Jost G and van der Pas R (2008) Using OpenMP Portable Shared Memory Parallel Programming The MIT Press
Error Indicators and Warnings
Parallelism and Performance
Background information to multithreading can be found in the Multithreading
x06afc is not threaded in any implementation.
for a demonstration of how to use x06afc