summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/mutex.h
diff options
context:
space:
mode:
authorGravatar bunnei2014-12-10 22:52:55 -0500
committerGravatar bunnei2014-12-10 22:52:55 -0500
commit3a75c8069e9c044f6a8f2fd80c7d35ea245a9f6e (patch)
tree59d94738da7ef6f31ddbc8d4cbfbd58f578e25d8 /src/core/hle/kernel/mutex.h
parentMerge pull request #239 from linkmauve/country-codes (diff)
parentMutex: Remove some forward declarations (diff)
downloadyuzu-3a75c8069e9c044f6a8f2fd80c7d35ea245a9f6e.tar.gz
yuzu-3a75c8069e9c044f6a8f2fd80c7d35ea245a9f6e.tar.xz
yuzu-3a75c8069e9c044f6a8f2fd80c7d35ea245a9f6e.zip
Merge pull request #256 from Subv/mutex
Kernel/Mutex: Properly lock the mutex when a thread enters it
Diffstat (limited to 'src/core/hle/kernel/mutex.h')
-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);
24 */ 24 */
25Handle CreateMutex(bool initial_locked, const std::string& name="Unknown"); 25Handle CreateMutex(bool initial_locked, const std::string& name="Unknown");
26 26
27/**
28 * Releases all the mutexes held by the specified thread
29 * @param thread Thread that is holding the mutexes
30 */
31void ReleaseThreadMutexes(Handle thread);
32
27} // namespace 33} // namespace