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 0e95f7ff0..40c78b436 100644 --- a/src/core/hle/kernel/kernel.h +++ b/src/core/hle/kernel/kernel.h | |||
| @@ -149,6 +149,9 @@ public: | |||
| 149 | /// Wake up all threads waiting on this object | 149 | /// Wake up all threads waiting on this object |
| 150 | void WakeupAllWaitingThreads(); | 150 | void WakeupAllWaitingThreads(); |
| 151 | 151 | ||
| 152 | /// Get a const reference to the waiting threads list for debug use | ||
| 153 | const std::vector<SharedPtr<Thread>>& GetWaitingThreads() const; | ||
| 154 | |||
| 152 | private: | 155 | private: |
| 153 | /// Threads waiting for this object to become available | 156 | /// Threads waiting for this object to become available |
| 154 | std::vector<SharedPtr<Thread>> waiting_threads; | 157 | std::vector<SharedPtr<Thread>> waiting_threads; |