summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2015-01-18 07:27:46 +0100
committerbunnei <bunneidev@gmail.com>2015-01-22 01:11:47 +0100
commit6643673f28b9273149fc945849a13ed832e9ef33 (patch)
tree026410cf5b0b57d350ac979380307991646e546c /src/core/hle/kernel/kernel.h
parentKernel: Separate WaitSynchronization into Wait and Acquire methods. (diff)
downloadyuzu-6643673f28b9273149fc945849a13ed832e9ef33.tar
yuzu-6643673f28b9273149fc945849a13ed832e9ef33.tar.gz
yuzu-6643673f28b9273149fc945849a13ed832e9ef33.tar.bz2
yuzu-6643673f28b9273149fc945849a13ed832e9ef33.tar.lz
yuzu-6643673f28b9273149fc945849a13ed832e9ef33.tar.xz
yuzu-6643673f28b9273149fc945849a13ed832e9ef33.tar.zst
yuzu-6643673f28b9273149fc945849a13ed832e9ef33.zip
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h
index d98fd0389..cfaf0c901 100644
--- a/src/core/hle/kernel/kernel.h
+++ b/src/core/hle/kernel/kernel.h
@@ -65,18 +65,18 @@ public:
virtual Kernel::HandleType GetHandleType() const = 0;
/**
- * Wait the current thread for kernel object to synchronize.
- * @param index Index of wait object (only applies to WaitSynchronizationN)
- * @return True if the current thread should wait as a result of the wait
+ * Check if this object is available, (optionally) wait the current thread if not
+ * @param wait_thread If true, wait the current thread if this object is unavailable
+ * @return True if the current thread should wait due to this object being unavailable
*/
- virtual ResultVal<bool> Wait(unsigned index = 0) {
+ virtual ResultVal<bool> Wait(bool wait_thread) {
LOG_ERROR(Kernel, "(UNIMPLEMENTED)");
return UnimplementedFunction(ErrorModule::Kernel);
}
/**
- * Acquire/lock the kernel object if it is available
- * @return True if we were able to acquire the kernel object, otherwise false
+ * Acquire/lock the this object if it is available
+ * @return True if we were able to acquire this object, otherwise false
*/
virtual ResultVal<bool> Acquire() {
LOG_ERROR(Kernel, "(UNIMPLEMENTED)");