diff options
author | bunnei <bunneidev@gmail.com> | 2014-12-10 22:52:55 -0500 |
---|---|---|
committer | bunnei <bunneidev@gmail.com> | 2014-12-10 22:52:55 -0500 |
commit | 3a75c8069e9c044f6a8f2fd80c7d35ea245a9f6e (patch) | |
tree | 59d94738da7ef6f31ddbc8d4cbfbd58f578e25d8 /src/core/hle/kernel/mutex.h | |
parent | 37711fc62444849e8333d8512242ec0891e6a4ab (diff) | |
parent | bc318c464bbe1a33e37312339d25c56021c444e8 (diff) |
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.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/mutex.h b/src/core/hle/kernel/mutex.h index 155449f954..7f4909a6ec 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 |