DWORD ret; ; HANDLE handle[THREAD_NUM]; ; i < THREAD_NUM; i++) handle[i] = (HANDLE)_beginthreadex(NULL, , CthreadFun, NULL, , NULL); ret = WaitForMultipleObjects(THREAD_NUM, handle, TRUE, INFINITE); 如上写了个使用_beginthreadex的例子,发现当THREAD_NUM为100时,WaitFor…