Export (0) Print
Expand All

omp_get_thread_num

Returns the thread number of the thread executing within its thread team.

int omp_get_thread_num( );

See parallel for an example of using omp_get_thread_num.

Show:
© 2014 Microsoft