summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/mutex.h
diff options
context:
space:
mode:
authorGravatar bunnei2015-02-09 22:17:20 -0500
committerGravatar bunnei2015-02-09 22:17:20 -0500
commit848795f3834c30695208e86c5bbebf6c71a57d96 (patch)
tree2cc5b3092cf41215bac17c6ddaf3bdec985b7adb /src/core/hle/kernel/mutex.h
parentMerge pull request #550 from lioncash/ftoui (diff)
parentMutex: Locks should be recursive. (diff)
downloadyuzu-848795f3834c30695208e86c5bbebf6c71a57d96.tar.gz
yuzu-848795f3834c30695208e86c5bbebf6c71a57d96.tar.xz
yuzu-848795f3834c30695208e86c5bbebf6c71a57d96.zip
Merge pull request #551 from bunnei/mutex-fixes
Mutex/synch fixes
Diffstat (limited to 'src/core/hle/kernel/mutex.h')
-rw-r--r--src/core/hle/kernel/mutex.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/hle/kernel/mutex.h b/src/core/hle/kernel/mutex.h
index 548403614..d6d5328be 100644
--- a/src/core/hle/kernel/mutex.h
+++ b/src/core/hle/kernel/mutex.h
@@ -30,8 +30,7 @@ public:
30 static const HandleType HANDLE_TYPE = HandleType::Mutex; 30 static const HandleType HANDLE_TYPE = HandleType::Mutex;
31 HandleType GetHandleType() const override { return HANDLE_TYPE; } 31 HandleType GetHandleType() const override { return HANDLE_TYPE; }
32 32
33 bool initial_locked; ///< Initial lock state when mutex was created 33 int lock_count; ///< Number of times the mutex has been acquired
34 bool locked; ///< Current locked state
35 std::string name; ///< Name of mutex (optional) 34 std::string name; ///< Name of mutex (optional)
36 SharedPtr<Thread> holding_thread; ///< Thread that has acquired the mutex 35 SharedPtr<Thread> holding_thread; ///< Thread that has acquired the mutex
37 36