diff options
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
| -rw-r--r-- | src/core/hle/kernel/kernel.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.h index 231cf7b75..eb5a3bf7e 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -155,6 +155,9 @@ public: | |||
| 155 | /// Wake up all threads waiting on this object | 155 | /// Wake up all threads waiting on this object |
| 156 | void WakeupAllWaitingThreads(); | 156 | void WakeupAllWaitingThreads(); |
| 157 | 157 | ||
| 158 | /// Obtains the highest priority thread that is ready to run from this object's waiting list. | ||
| 159 | SharedPtr<Thread> GetHighestPriorityReadyThread(); | ||
| 160 | |||
| 158 | /// Get a const reference to the waiting threads list for debug use | 161 | /// Get a const reference to the waiting threads list for debug use |
| 159 | const std::vector<SharedPtr<Thread>>& GetWaitingThreads() const; | 162 | const std::vector<SharedPtr<Thread>>& GetWaitingThreads() const; |
| 160 | 163 | ||