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