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

Function cpthread_cond_wait

Libraries/unrar/threadmisc.cpp:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97
98#ifdef _UNIX
99static void cpthread_cond_wait(pthread_cond_t *cond, pthread_mutex_t *mutex)
100{
101 int rc=pthread_cond_wait(cond,mutex);
102 if (rc!=0)
103 {
104 ErrHandler.GeneralErrMsg(L"\npthread_cond_wait error %d",rc);
105 ErrHandler.Exit(RARX_FATAL);
106 }
107}
108#endif
109
110

Callers 2

GetQueuedTaskMethod · 0.85
WaitDoneMethod · 0.85

Calls 2

GeneralErrMsgMethod · 0.80
ExitMethod · 0.80

Tested by

no test coverage detected