diff options
| author | 2014-10-31 21:19:20 -0200 | |
|---|---|---|
| committer | 2014-11-24 17:08:36 -0200 | |
| commit | 22c86824a4e4fe8953d7104f2fbdf853d3d30c60 (patch) | |
| tree | 30f8b8e1d71c08d8da53fb2ba980542aba5b4010 /src/core/hle/kernel/mutex.cpp | |
| parent | HLE: Revamp error handling throrough the HLE code (diff) | |
| download | yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.gz yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.tar.xz yuzu-22c86824a4e4fe8953d7104f2fbdf853d3d30c60.zip | |
Remove duplicated docs/update them for changed parameters.
Diffstat (limited to 'src/core/hle/kernel/mutex.cpp')
| -rw-r--r-- | src/core/hle/kernel/mutex.cpp | 10 |
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: | |||
| 27 | std::vector<Handle> waiting_threads; ///< Threads that are waiting for the mutex | 27 | std::vector<Handle> waiting_threads; ///< Threads that are waiting for the mutex |
| 28 | std::string name; ///< Name of mutex (optional) | 28 | std::string name; ///< Name of mutex (optional) |
| 29 | 29 | ||
| 30 | /** | ||
| 31 | * Synchronize kernel object | ||
| 32 | * @param wait Boolean wait set if current thread should wait as a result of sync operation | ||
| 33 | * @return Result of operation, 0 on success, otherwise error code | ||
| 34 | */ | ||
| 35 | ResultVal<bool> SyncRequest() override { | 30 | ResultVal<bool> SyncRequest() override { |
| 36 | // TODO(bunnei): ImplementMe | 31 | // TODO(bunnei): ImplementMe |
| 37 | locked = true; | 32 | locked = true; |
| 38 | return MakeResult<bool>(false); | 33 | return MakeResult<bool>(false); |
| 39 | } | 34 | } |
| 40 | 35 | ||
| 41 | /** | ||
| 42 | * Wait for kernel object to synchronize | ||
| 43 | * @param wait Boolean wait set if current thread should wait as a result of sync operation | ||
| 44 | * @return Result of operation, 0 on success, otherwise error code | ||
| 45 | */ | ||
| 46 | ResultVal<bool> WaitSynchronization() override { | 36 | ResultVal<bool> WaitSynchronization() override { |
| 47 | // TODO(bunnei): ImplementMe | 37 | // TODO(bunnei): ImplementMe |
| 48 | bool wait = locked; | 38 | bool wait = locked; |