MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / Wait

Method Wait

common/Semaphore.cpp:169–176  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

167}
168
169void Threading::KernelSemaphore::Wait()
170{
171#ifdef _WIN32
172 WaitForSingleObject(m_sema, INFINITE);
173#else
174 sem_wait(&m_sema);
175#endif
176}
177
178bool Threading::KernelSemaphore::TryWait()
179{

Callers 4

WaitForWorkMethod · 0.45
WaitForWorkWithSpinMethod · 0.45
WaitForEmptyMethod · 0.45
WaitForEmptyWithSpinMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected