Defined in:Returns the worker thread index for a job.
int32 GetThreadIndex(void) const;
DescriptionAfter a job has been dispatched to a worker thread, the
GetThreadIndexfunction returns the index of the worker thread on which the job is executing. The index is between 0 and n − 1, inclusive, where n is the number of worker threads returned by the
ThreadMgr::GetWorkerThreadCountfunction. The value of the thread index is valid only when the
GetThreadIndexfunction is called from within the job's execution function.