THREAD_FUN CThread::__WorkThread(void *arg) { CThread *pThis = (CThread*) arg; #ifdef WIN32 return pThis->DoRunning(); #else pThis->DoRunning(); #endif }