DWORD dwExitCode;
if( ::GetExitCodeThread ( pYourThread->m_hThread , &dwExitCode ) )
if ( STILL_ACTIVE == dwExitCode )
{
   ...
}
判断返回值来确定是否你的线程已经终止