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

Method Post

common/Semaphore.cpp:160–167  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

158}
159
160void Threading::KernelSemaphore::Post()
161{
162#ifdef _WIN32
163 ReleaseSemaphore(m_sema, 1, nullptr);
164#else
165 sem_post(&m_sema);
166#endif
167}
168
169void Threading::KernelSemaphore::Wait()
170{

Callers 8

ThreadEntryPointMethod · 0.45
MainLoopMethod · 0.45
ExecuteRingBufferMethod · 0.45
D2_DBGPFunction · 0.45
CheckForWorkMethod · 0.45
WaitForWorkMethod · 0.45
WaitForWorkWithSpinMethod · 0.45
KillMethod · 0.45

Calls 1

ReleaseSemaphoreFunction · 0.85

Tested by

no test coverage detected