Returns the maximum value that can be returned by a call to the OMP_GET_NUM_THREADS function.
INTEGER FUNCTION OMP_GET_MAX_THREADS()
#include <omp.h> int omp_get_max_threads(void)
Generally reflects the number of threads as set by the OMP_NUM_THREADS environment variable or the OMP_SET_NUM_THREADS() library routine.
May be called from both serial and parallel regions of code.