MCPcopy Create free account
hub / github.com/catboost/catboost / IsDeadThread

Function IsDeadThread

library/cpp/lfalloc/lf_allocX64.h:1221–1225  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1219
1220#ifdef _win_
1221static bool IsDeadThread(TThreadAllocInfo* pInfo) {
1222 DWORD dwExit;
1223 bool isDead = !GetExitCodeThread(pInfo->hThread, &dwExit) || dwExit != STILL_ACTIVE;
1224 return isDead;
1225}
1226
1227static void CleanupAfterDeadThreads() {
1228 TLFLockHolder ll(&LFLockThreadInfo);

Callers 1

CleanupAfterDeadThreadsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected