void DoWork()
Executes the work of the thread.
int CurrIdx()
Returns the current index of the thread.
virtual BSHP< ThreadLoop > CreateForNewThread()=0
Overridden by derived class.
XM_DISALLOW_COPY_AND_ASSIGN(ThreadLoop)
prevent compiler generated copy/assign
BSHP< impl > m_p
implementation class
Implementation of ThreadLoop.
void SetStartNumIterCnt(int a_startIdx, int a_numIter, int *a_cntPtr)
Sets up the thread worker.
virtual void Worker()=0
Overridden by derived class.