Next: omp_get_dynamic, Previous: omp_get_active_level, Up: Runtime Library Routines
omp_get_ancestor_thread_num
– Ancestor thread IDomp_get_level
-1 is returned; if level is
omp_get_level
the result is identical to omp_get_thread_num
.
Prototype: | int omp_get_ancestor_thread_num(int level);
|
Interface: | integer omp_ancestor_thread_num(level)
|
integer level
|