35 m_handleThread = NULL;
50 pthread_create( (pthread_t*)&m_handleThread , NULL, InitialThreadFunction,
this);
53 m_handleThread = (
void*) ::
CreateThread( 0, 0, InitialThreadFunction,
this, 0, &threadId );
56 return(m_handleThread!=NULL);
65 pthread_cancel((pthread_t)m_handleThread);
67 CloseHandle( m_handleThread );
73 return(m_handleThread==NULL);
76 return(m_handleThread!=NULL);
80 if (message<=0)
return false;
85 void* moThread::InitialThreadFunction(
void *data ) {
87 DWORD WINAPI moThread::InitialThreadFunction( LPVOID data ) {
91 int b = m_pThreadClass->ThreadUserFunction();
99 bool moThread::ProcessMessage() {
bool SendThreadMessage(int message)