mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
Use mutexes in LogManager to make it threadsafe, as suggested by beistin's patch. Change some LogManager function names to be consistent with Dolphin's naming conventions.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7433 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -68,8 +68,7 @@ public:
|
||||
void Wait()
|
||||
{
|
||||
std::unique_lock<std::mutex> lk(m_mutex);
|
||||
if (!is_set)
|
||||
m_condvar.wait(lk, IsSet(this));
|
||||
m_condvar.wait(lk, IsSet(this));
|
||||
is_set = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user