23 #include "../Util/Message.h" 49 HANDLE m_hThreadHandle;
51 #if defined(__LINUX__) 52 pthread_t m_hThreadHandle;
55 void* m_hThreadHandle;
CThread & operator=(const CThread &clThread)
int createThread(void(*fuThreadFunction)(CThread *), void *pThreadObject)
void setThreadStackSize(unsigned int uiSize)
void exitThread()
called inside the thread function before leaving the thread
void terminateThread()
called outside the thread function to terminate the thread
unsigned int m_uiStackSize
bool checkThreadRun()
check outside the thread function to check running
bool checkThreadStop()
check inside the thread function to check termination
void(* m_pfuThreadFunction)(CThread *)