DWORD __stdcall ThreadCallback(void* threadData) { WorkerThread* thread = static_cast<WorkerThread*>(threadData); thread->Run(); return 0; }
void *WorkerThread::ThreadFunction(void *ipThread) { WorkerThread *lpThread = reinterpret_cast < WorkerThread * >(ipThread); lpThread->Run(); }
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; }