CTimer.cpp
void CTimer::updateThreadState( )
{
   if( thread )
      if( pthread_kill( thread, 0 ) != 0 )
          thread = 0;  // NOT running!
}
// Check if the thread has died
Check if the thread has died
Check if the thread has died
void CTimer::updateThreadState( )
{
   if( thread )
      if( pthread_kill( thread, 0 ) != 0 )
          thread = 0;  
}
void CTimer :: updateThreadState ( ) { if ( thread ) if ( pthread_kill ( thread , 0 ) != 0 ) thread = 0 ; }
Check if the thread has died
Check if the thread has died
// NOT running!