Emgu CV Library Documentation
cvGetThreadNum Method
NamespacesEmgu.CVCvInvokecvGetThreadNum()()()

www.emgu.com/wiki
Returns the index, from 0 to cvGetNumThreads()-1, of the thread that called the function. It is a wrapper for the function omp_get_thread_num() from OpenMP runtime. The retrieved index may be used to access local-thread data inside the parallelized code fragments.
Declaration Syntax
C#Visual BasicVisual C++
public static int cvGetThreadNum()
Public Shared Function cvGetThreadNum As Integer
public:
static int cvGetThreadNum()
Return Value
The index, from 0 to cvGetNumThreads()-1, of the thread that called the function. It is a wrapper for the function omp_get_thread_num() from OpenMP runtime. The retrieved index may be used to access local-thread data inside the parallelized code fragments.

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)