summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
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