MCPcopy Create free account
hub / github.com/abbeycode/UnrarKit / CWaitForSingleObject

Function CWaitForSingleObject

Libraries/unrar/threadmisc.cpp:86–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

84
85#ifdef _WIN_ALL
86static void CWaitForSingleObject(HANDLE hHandle)
87{
88 DWORD rc=WaitForSingleObject(hHandle,INFINITE);
89 if (rc==WAIT_FAILED)
90 {
91 ErrHandler.GeneralErrMsg(L"\nWaitForMultipleObjects error %d, GetLastError %d",rc,GetLastError());
92 ErrHandler.Exit(RARX_FATAL);
93 }
94}
95#endif
96
97

Callers 3

~ThreadPoolMethod · 0.85
GetQueuedTaskMethod · 0.85
WaitDoneMethod · 0.85

Calls 2

GeneralErrMsgMethod · 0.80
ExitMethod · 0.80

Tested by

no test coverage detected