MCPcopy Create free account
hub / github.com/bazz1tv/snestracker / CWaitForSingleObject

Function CWaitForSingleObject

pc/ext/unrar/threadmisc.cpp:141–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139
140#ifdef _WIN_ALL
141static void CWaitForSingleObject(HANDLE hHandle)
142{
143 DWORD rc=WaitForSingleObject(hHandle,INFINITE);
144 if (rc==WAIT_FAILED)
145 {
146 ErrHandler.GeneralErrMsg(L"\nWaitForMultipleObjects error %d, GetLastError %d",rc,GetLastError());
147 ErrHandler.Exit(RARX_FATAL);
148 }
149}
150#endif
151
152

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