Fix Common::Barrier and fix the deadlock by making Common::Event check to see if an event has already been set or not.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@7305 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
Glenn Rice
2011-03-05 22:17:28 +00:00
parent 024a87af7a
commit 7bc2ae01f2
4 changed files with 17 additions and 10 deletions

View File

@ -665,7 +665,7 @@ void CFrame::OnHostMessage(wxCommandEvent& event)
break;
case IDM_KEYSTATE:
bKeyStateResult = wxGetKeyState(wxKeyCode(event.GetInt()));
keystate_event.Wait();
keystate_event.Set();
break;
#endif