Пример #1
0
DWORD __stdcall ThreadCallback(void* threadData)
{
  WorkerThread* thread = static_cast<WorkerThread*>(threadData);
  thread->Run();
  return 0;
}
Пример #2
0
	void *WorkerThread::ThreadFunction(void *ipThread) {
		WorkerThread *lpThread =
		    reinterpret_cast < WorkerThread * >(ipThread);
		lpThread->Run();
	}
Пример #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;
}