summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/mutex.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2017-01-01 17:57:02 +0100
committerSubv <subv2112@gmail.com>2017-01-04 21:58:44 +0100
commit38a90882a4230bb797ae3f6857e986d70f3bd265 (patch)
tree3b2e841905a7cbeaceaebe297a128d75892d79f2 /src/core/hle/kernel/mutex.cpp
parentTry a different encrypted bintray api key for travis. Change appveyor to upload to a long git hash (since travis is stuck uploading to the full hash name) (diff)
downloadyuzu-38a90882a4230bb797ae3f6857e986d70f3bd265.tar
yuzu-38a90882a4230bb797ae3f6857e986d70f3bd265.tar.gz
yuzu-38a90882a4230bb797ae3f6857e986d70f3bd265.tar.bz2
yuzu-38a90882a4230bb797ae3f6857e986d70f3bd265.tar.lz
yuzu-38a90882a4230bb797ae3f6857e986d70f3bd265.tar.xz
yuzu-38a90882a4230bb797ae3f6857e986d70f3bd265.tar.zst
yuzu-38a90882a4230bb797ae3f6857e986d70f3bd265.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/mutex.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index 736944bae..8d92a9b8e 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -84,6 +84,7 @@ void Mutex::Release() {
if (lock_count == 0) {
holding_thread->held_mutexes.erase(this);
ResumeWaitingThread(this);
+ Core::System::GetInstance().PrepareReschedule();
}
}
}