omp_get_max_threads
This is part of the on going effort to remove the dependency on global omp variables.