diff options
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 53b3f9143..af4e2f443 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -66,9 +66,10 @@ public: | |||
| 66 | 66 | ||
| 67 | /** | 67 | /** |
| 68 | * Wait for kernel object to synchronize. | 68 | * Wait for kernel object to synchronize. |
| 69 | * @param index Index of wait object (only applies to WaitSynchronizationN) | ||
| 69 | * @return True if the current thread should wait as a result of the wait | 70 | * @return True if the current thread should wait as a result of the wait |
| 70 | */ | 71 | */ |
| 71 | virtual ResultVal<bool> WaitSynchronization() { | 72 | virtual ResultVal<bool> WaitSynchronization(unsigned index=0) { |
| 72 | LOG_ERROR(Kernel, "(UNIMPLEMENTED)"); | 73 | LOG_ERROR(Kernel, "(UNIMPLEMENTED)"); |
| 73 | return UnimplementedFunction(ErrorModule::Kernel); | 74 | return UnimplementedFunction(ErrorModule::Kernel); |
| 74 | } | 75 | } |
| @@ -111,10 +112,10 @@ public: | |||
| 111 | void RemoveWaitingThread(Thread* thead); | 112 | void RemoveWaitingThread(Thread* thead); |
| 112 | 113 | ||
| 113 | /** | 114 | /** |
| 114 | * Resumes (and removes) the next thread waiting on this object | 115 | * Releases (and removes) the next thread waiting on this object |
| 115 | * @return Pointer to the thread that was resumed, nullptr if no threads are waiting | 116 | * @return Pointer to the thread that was resumed, nullptr if no threads are waiting |
| 116 | */ | 117 | */ |
| 117 | Thread* ResumeNextThread(); | 118 | Thread* ReleaseNextThread(); |
| 118 | 119 | ||
| 119 | /// Releases all threads waiting on this object | 120 | /// Releases all threads waiting on this object |
| 120 | void ReleaseAllWaitingThreads(); | 121 | void ReleaseAllWaitingThreads(); |