summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorGravatar bunnei2015-01-20 18:16:45 -0500
committerGravatar bunnei2015-01-21 20:47:49 -0500
commit15b6a4d9add6b260a2a1a84ab6228addced4f851 (patch)
treee9934863ebd6483cabae0f6c280fab7e34eee32e /src/core/hle/kernel/kernel.h
parentWaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" p... (diff)
downloadyuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.tar.gz
yuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.tar.xz
yuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.zip
Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index 1bb0b55bd..c26726223 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -120,13 +120,10 @@ public:
120 * Check if the current thread should wait until the object is available 120 * Check if the current thread should wait until the object is available
121 * @return True if the current thread should wait due to this object being unavailable 121 * @return True if the current thread should wait due to this object being unavailable
122 */ 122 */
123 virtual ResultVal<bool> ShouldWait() = 0; 123 virtual bool ShouldWait() = 0;
124 124
125 /** 125 /// Acquire/lock the object if it is available
126 * Acquire/lock the object if it is available 126 virtual void Acquire() = 0;
127 * @return True if we were able to acquire this object, otherwise false
128 */
129 virtual ResultVal<bool> Acquire() = 0;
130 127
131 /** 128 /**
132 * Add a thread to wait on this object 129 * Add a thread to wait on this object