mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
Small fixes
This commit is contained in:
parent
c0f13f7084
commit
82781e620a
22 changed files with 201 additions and 194 deletions
|
@ -37,6 +37,7 @@ CPUThread::CPUThread(CPUThreadType type, const std::string& name, std::function<
|
|||
}
|
||||
catch (CPUThreadReturn)
|
||||
{
|
||||
;
|
||||
}
|
||||
catch (CPUThreadStop)
|
||||
{
|
||||
|
@ -47,12 +48,21 @@ CPUThread::CPUThread(CPUThreadType type, const std::string& name, std::function<
|
|||
m_state |= CPU_STATE_DEAD;
|
||||
break;
|
||||
}
|
||||
catch (const fmt::exception&)
|
||||
{
|
||||
DumpInformation();
|
||||
throw;
|
||||
}
|
||||
|
||||
m_state &= ~CPU_STATE_RETURN;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!lock) lock.lock();
|
||||
if (!lock)
|
||||
{
|
||||
lock.lock();
|
||||
continue;
|
||||
}
|
||||
|
||||
cv.wait(lock);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue