diff options
author | bunnei <bunneidev@gmail.com> | 2015-05-20 02:24:30 +0200 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2015-05-21 00:05:47 +0200 |
commit | 0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f (patch) | |
tree | bce96a583e8069dc22e508df62de6cd03f394efc /src/core/hle/kernel/event.cpp | |
parent | Merge pull request #783 from jroweboy/cond-wait (diff) | |
download | yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.gz yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.bz2 yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.lz yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.xz yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.tar.zst yuzu-0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f.zip |
Diffstat (limited to 'src/core/hle/kernel/event.cpp')
-rw-r--r-- | src/core/hle/kernel/event.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/event.cpp b/src/core/hle/kernel/event.cpp index f338f3266..e45deb1c6 100644 --- a/src/core/hle/kernel/event.cpp +++ b/src/core/hle/kernel/event.cpp @@ -41,7 +41,10 @@ void Event::Acquire() { void Event::Signal() { signaled = true; + WakeupAllWaitingThreads(); + + HLE::Reschedule(__func__); } void Event::Clear() { |