summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/mutex.h
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2014-12-07 21:44:21 +0100
committerSubv <subv2112@gmail.com>2014-12-07 21:44:21 +0100
commit64128aa61a7ada0744f801df116dfbe229a50382 (patch)
treec22742e84c584242f38926307aad471a952ca723 /src/core/hle/kernel/mutex.h
parentMutex: Properly lock the mutex when a thread enters it (diff)
downloadyuzu-64128aa61a7ada0744f801df116dfbe229a50382.tar
yuzu-64128aa61a7ada0744f801df116dfbe229a50382.tar.gz
yuzu-64128aa61a7ada0744f801df116dfbe229a50382.tar.bz2
yuzu-64128aa61a7ada0744f801df116dfbe229a50382.tar.lz
yuzu-64128aa61a7ada0744f801df116dfbe229a50382.tar.xz
yuzu-64128aa61a7ada0744f801df116dfbe229a50382.tar.zst
yuzu-64128aa61a7ada0744f801df116dfbe229a50382.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/kernel/mutex.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.h b/src/core/hle/kernel/mutex.h
index 155449f95..7f4909a6e 100644
--- a/src/core/hle/kernel/mutex.h
+++ b/src/core/hle/kernel/mutex.h
@@ -24,4 +24,10 @@ ResultCode ReleaseMutex(Handle handle);
*/
Handle CreateMutex(bool initial_locked, const std::string& name="Unknown");
+/**
+ * Releases all the mutexes held by the specified thread
+ * @param thread Thread that is holding the mutexes
+ */
+void ReleaseThreadMutexes(Handle thread);
+
} // namespace