Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
omp_get_thread_num

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:
© 2015 Microsoft