Returns the number of threads currently in the team executing the parallel region from which it is called.
int omp_get_num_threads (void);