Esempio n. 1
0
DWORD __stdcall ThreadCallback(void* threadData)
{
  WorkerThread* thread = static_cast<WorkerThread*>(threadData);
  thread->Run();
  return 0;
}
Esempio n. 2
0
	void *WorkerThread::ThreadFunction(void *ipThread) {
		WorkerThread *lpThread =
		    reinterpret_cast < WorkerThread * >(ipThread);
		lpThread->Run();
	}
Esempio n. 3
0
	void * WorkerThread::StaticRun( void * data )
	{
		WorkerThread * self = (WorkerThread*) data;
		self->Run();
		return NULL;
	}
void* ThreadCallback(void* threadData)
{
  WorkerThread* thread = static_cast<WorkerThread*>(threadData);
  thread->Run();
  return nullptr;
}