summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/mutex.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2014-11-01 00:19:20 +0100
committerYuri Kunde Schlesner <yuriks@yuriks.net>2014-11-24 20:08:36 +0100
commit22c86824a4e4fe8953d7104f2fbdf853d3d30c60 (patch)
tree30f8b8e1d71c08d8da53fb2ba980542aba5b4010 /src/core/hle/kernel/mutex.cpp
parentHLE: Revamp error handling throrough the HLE code (diff)
downloadyuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.gz
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.bz2
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.lz
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.xz
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.zst
yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.zip
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
-rw-r--r--src/core/hle/kernel/mutex.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/core/hle/kernel/mutex.cpp b/src/core/hle/kernel/mutex.cpp
index e4ff1ef40..b303ba128 100644
--- a/src/core/hle/kernel/mutex.cpp
+++ b/src/core/hle/kernel/mutex.cpp
@@ -27,22 +27,12 @@ public:
std::vector<Handle> waiting_threads; ///< Threads that are waiting for the mutex
std::string name; ///< Name of mutex (optional)
- /**
- * Synchronize kernel object
- * @param wait Boolean wait set if current thread should wait as a result of sync operation
- * @return Result of operation, 0 on success, otherwise error code
- */
ResultVal<bool> SyncRequest() override {
// TODO(bunnei): ImplementMe
locked = true;
return MakeResult<bool>(false);
}
- /**
- * Wait for kernel object to synchronize
- * @param wait Boolean wait set if current thread should wait as a result of sync operation
- * @return Result of operation, 0 on success, otherwise error code
- */
ResultVal<bool> WaitSynchronization() override {
// TODO(bunnei): ImplementMe
bool wait = locked;