summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-21 00:16:45 +0100
committerbunnei <bunneidev@gmail.com>2015-01-22 02:47:49 +0100
commit15b6a4d9add6b260a2a1a84ab6228addced4f851 (patch)
treee9934863ebd6483cabae0f6c280fab7e34eee32e /src/core/hle/kernel/kernel.h
parentWaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" pure virtual. (diff)
downloadyuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.tar
yuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.tar.gz
yuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.tar.bz2
yuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.tar.lz
yuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.tar.xz
yuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.tar.zst
yuzu-15b6a4d9add6b260a2a1a84ab6228addced4f851.zip
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:
* Check if the current thread should wait until the object is available
* @return True if the current thread should wait due to this object being unavailable
*/
- virtual ResultVal<bool> ShouldWait() = 0;
+ virtual bool ShouldWait() = 0;
- /**
- * Acquire/lock the object if it is available
- * @return True if we were able to acquire this object, otherwise false
- */
- virtual ResultVal<bool> Acquire() = 0;
+ /// Acquire/lock the object if it is available
+ virtual void Acquire() = 0;
/**
* Add a thread to wait on this object