libgomp: omp_get_team_size

1 
1 2.18 'omp_get_team_size' - Number of threads in a team
1 ======================================================
1 
1 _Description_:
1      This function returns the number of threads in a thread team to
1      which either the current thread or its ancestor belongs.  For
1      values of LEVEL outside zero to 'omp_get_level', -1 is returned; if
1      LEVEL is zero, 1 is returned, and for 'omp_get_level', the result
1      is identical to 'omp_get_num_threads'.
1 
1 _C/C++_:
1      _Prototype_:   'int omp_get_team_size(int level);'
1 
1 _Fortran_:
1      _Interface_:   'integer function omp_get_team_size(level)'
1                     'integer level'
1 
1 _See also_:
DONTPRINTYET 1      ⇒omp_get_num_threads, ⇒omp_get_level, *note1      omp_get_ancestor_thread_num::
1 
1 _Reference_:
1      OpenMP specification v4.5 (http://www.openmp.org/), Section 3.2.19.
1