summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/mutex.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-02-10 04:06:09 +0100
committerbunnei <bunneidev@gmail.com>2015-02-10 04:06:09 +0100
commit1b0bf00cbcadfc4cca0a3d16efac8b85a4bd71e5 (patch)
treecf72fdea8a5f5e40c0ee07a8b7d705966a19a58a /src/core/hle/kernel/mutex.h
parentWaitSynch: Always reschedule (verified behavior on hw). (diff)
downloadyuzu-1b0bf00cbcadfc4cca0a3d16efac8b85a4bd71e5.tar
yuzu-1b0bf00cbcadfc4cca0a3d16efac8b85a4bd71e5.tar.gz
yuzu-1b0bf00cbcadfc4cca0a3d16efac8b85a4bd71e5.tar.bz2
yuzu-1b0bf00cbcadfc4cca0a3d16efac8b85a4bd71e5.tar.lz
yuzu-1b0bf00cbcadfc4cca0a3d16efac8b85a4bd71e5.tar.xz
yuzu-1b0bf00cbcadfc4cca0a3d16efac8b85a4bd71e5.tar.zst
yuzu-1b0bf00cbcadfc4cca0a3d16efac8b85a4bd71e5.zip
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:
static const HandleType HANDLE_TYPE = HandleType::Mutex;
HandleType GetHandleType() const override { return HANDLE_TYPE; }
- bool initial_locked; ///< Initial lock state when mutex was created
- bool locked; ///< Current locked state
+ int lock_count; ///< Number of times the mutex has been acquired
std::string name; ///< Name of mutex (optional)
SharedPtr<Thread> holding_thread; ///< Thread that has acquired the mutex