omp_get_max_threads
int omp_get_max_threads(void)
This function returns the maximum value that can be returned by calls to omp_get_num_threads.
OpenMP API Index