mirror of
https://git.zaroz.cloud/nintendo-back-up/yuzu/yuzu-mainline.git
synced 2025-12-17 16:42:40 +00:00
Mutex: Release all held mutexes when a thread exits.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user