omp_get_thread_num

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

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

int omp_get_thread_num( );  

For more information, see 3.1.4 omp_get_thread_num Function.

See parallel for an example of using omp_get_thread_num.

Functions

Show: