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.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:
65 virtual Kernel::HandleType GetHandleType() const = 0; 65 virtual Kernel::HandleType GetHandleType() const = 0;
66 66
67 /** 67 /**
68 * Wait the current thread for kernel object to synchronize. 68 * Check if this object is available, (optionally) wait the current thread if not
69 * @param index Index of wait object (only applies to WaitSynchronizationN) 69 * @param wait_thread If true, wait the current thread if this object is unavailable
70 * @return True if the current thread should wait as a result of the wait 70 * @return True if the current thread should wait due to this object being unavailable
71 */ 71 */
72 virtual ResultVal<bool> Wait(unsigned index = 0) { 72 virtual ResultVal<bool> Wait(bool wait_thread) {
73 LOG_ERROR(Kernel, "(UNIMPLEMENTED)"); 73 LOG_ERROR(Kernel, "(UNIMPLEMENTED)");
74 return UnimplementedFunction(ErrorModule::Kernel); 74 return UnimplementedFunction(ErrorModule::Kernel);
75 } 75 }
76 76
77 /** 77 /**
78 * Acquire/lock the kernel object if it is available 78 * Acquire/lock the this object if it is available
79 * @return True if we were able to acquire the kernel object, otherwise false 79 * @return True if we were able to acquire this object, otherwise false
80 */ 80 */
81 virtual ResultVal<bool> Acquire() { 81 virtual ResultVal<bool> Acquire() {
82 LOG_ERROR(Kernel, "(UNIMPLEMENTED)"); 82 LOG_ERROR(Kernel, "(UNIMPLEMENTED)");