omp_get_thread_num
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
Returns the thread number of the thread executing within its thread team.
Syntax
int omp_get_thread_num( );
Remarks
For more information, see 3.1.4 omp_get_thread_num Function.
Example
See parallel for an example of using omp_get_thread_num
.