Example #1
0
void* CG_CALLBACK IThread::ThreadFunction(void* pParam)
{
    IThread* pThis = (IThread*)pParam;
    return (void*)pThis->Run();
}
Example #2
0
 static void * Worker(void * data) {
   IThread * ptr = (IThread* ) data;
   ptr->Run();
   return NULL;
 }