mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
Protect the log to window queue with a mutex.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2705 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -20,6 +20,7 @@
|
||||
#include "Main.h" // for wxGetApp
|
||||
#include "LogManager.h"
|
||||
#include "IniFile.h"
|
||||
#include "Thread.h"
|
||||
#include <queue>
|
||||
|
||||
enum
|
||||
@ -65,6 +66,8 @@ private:
|
||||
LogManager *m_logManager;
|
||||
std::queue<std::pair<u8, wxString> > msgQueue;
|
||||
|
||||
Common::CriticalSection m_logSection;
|
||||
|
||||
DECLARE_EVENT_TABLE()
|
||||
|
||||
void CreateGUIControls();
|
||||
|
Reference in New Issue
Block a user