Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
160
void Threading::KernelSemaphore::Post()
161
{
162
#ifdef _WIN32
163
ReleaseSemaphore(m_sema, 1, nullptr);
164
#else
165
sem_post(&m_sema);
166
#endif
167
}
168
169
void Threading::KernelSemaphore::Wait()
170
{
Callers
8
ThreadEntryPoint
Method · 0.45
MainLoop
Method · 0.45
ExecuteRingBuffer
Method · 0.45
D2_DBGP
Function · 0.45
CheckForWork
Method · 0.45
WaitForWork
Method · 0.45
WaitForWorkWithSpin
Method · 0.45
Kill
Method · 0.45
Calls
1
ReleaseSemaphore
Function · 0.85
Tested by
no test coverage detected