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:
hrydgard
2009-03-20 22:51:59 +00:00
parent 46c0e5b659
commit 226aac6cac
2 changed files with 12 additions and 0 deletions

View File

@ -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();