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

    HANDLE hThread;

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


    WaitForSingleObject( hThread, INFINITE );

以上内容来自MSDN

你可能感兴趣的:(null)