mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-09-02 07:36:34 +00: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:
parent
46c0e5b659
commit
226aac6cac
2 changed files with 12 additions and 0 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue