summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/event.cpp
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-05-20 02:24:30 +0200
committerbunnei <bunneidev@gmail.com>2015-05-21 00:05:47 +0200
commit0b7d2941cf358cfdbfd32b0e5fb8fcca4180336f (patch)
treebce96a583e8069dc22e508df62de6cd03f394efc /src/core/hle/kernel/event.cpp
parentMerge pull request #783 from jroweboy/cond-wait (diff)
downloadyuzu-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.cpp3
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() {