mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
rCriticalSection & rSemaphore removed
SC_Semaphore errors fixed Room for interrupt threads
This commit is contained in:
parent
2fad8039f5
commit
30b8e51234
15 changed files with 84 additions and 148 deletions
|
@ -85,13 +85,13 @@ void CPUThread::SetName(const std::string& name)
|
|||
|
||||
void CPUThread::Wait(bool wait)
|
||||
{
|
||||
rCriticalSectionLocker lock(m_cs_sync);
|
||||
std::lock_guard<std::mutex> lock(m_cs_sync);
|
||||
m_sync_wait = wait;
|
||||
}
|
||||
|
||||
void CPUThread::Wait(const CPUThread& thr)
|
||||
{
|
||||
rCriticalSectionLocker lock(m_cs_sync);
|
||||
std::lock_guard<std::mutex> lock(m_cs_sync);
|
||||
m_wait_thread_id = thr.GetId();
|
||||
m_sync_wait = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue