libgomp: omp_get_ancestor_thread_num

1 
1 2.2 'omp_get_ancestor_thread_num' - Ancestor thread ID
1 ======================================================
1 
1 _Description_:
1      This function returns the thread identification number for the
1      given nesting level of the current thread.  For values of LEVEL
1      outside zero to 'omp_get_level' -1 is returned; if LEVEL is
1      'omp_get_level' the result is identical to 'omp_get_thread_num'.
1 
1 _C/C++_
1      _Prototype_:   'int omp_get_ancestor_thread_num(int level);'
1 
1 _Fortran_:
1      _Interface_:   'integer function omp_get_ancestor_thread_num(level)'
1                     'integer level'
1 
1 _See also_:
DONTPRINTYET 1      ⇒omp_get_level, ⇒omp_get_thread_num, *note1      omp_get_team_size::
1 
1 _Reference_:
1      OpenMP specification v4.5 (http://www.openmp.org/), Section 3.2.18.
1