怎么知道_beginthreadex开始的线程被结束

 HANDLE hThread;

hThread = (HANDLE)_beginthreadex( NULL, 0, &SecondThreadFunc, NULL, 0, &threadID );


    WaitForSingleObject( hThread, INFINITE );
 

以上内容来自MSDN

你可能感兴趣的:(职场,休闲,beginthreadex)