do {
if (GetExitCodeThread(tsk->taskHandle, &lpexitcode) == TRUE) {
if (lpexitcode == STILL_ACTIVE) {
DisplayPrint("h1 still active!\n");
TaskDelay(10);
} else {
ErrorPrint("%s exit, code is %d!\n", tsk->taskname, lpexitcode);
}
} else {
ErrorPrint("GetExitCodeThread %s run failure!\n", tsk->taskname);
}
} while (lpexitcode == STILL_ACTIVE);
Vs环境监视每一个线程活跃情况
最新推荐文章于 2024-06-26 23:00:00 发布
关键词由CSDN通过智能技术生成