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

Function CriticalSectionEnd

Libraries/unrar/threadmisc.cpp:32–39  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31
32static inline void CriticalSectionEnd(CRITSECT_HANDLE *CritSection)
33{
34#ifdef _WIN_ALL
35 LeaveCriticalSection(CritSection);
36#elif defined(_UNIX)
37 pthread_mutex_unlock(CritSection);
38#endif
39}
40
41
42static THREAD_HANDLE ThreadCreate(NATIVE_THREAD_PTR Proc,void *Data)

Callers 2

PoolThreadLoopMethod · 0.85
GetQueuedTaskMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected