summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/kernel.h
diff options
context:
space:
mode:
authorGravatar wwylele2016-04-08 19:28:54 +0300
committerGravatar wwylele2016-09-22 13:52:52 +0800
commitf69a543110703e09adc830bbc65e3c39be0cc52b (patch)
tree6698d241fb60109d5eae43ff6ece00fef9aa91d8 /src/core/hle/kernel/kernel.h
parentMerge pull request #2099 from citra-emu/fix-clang-format (diff)
downloadyuzu-f69a543110703e09adc830bbc65e3c39be0cc52b.tar.gz
yuzu-f69a543110703e09adc830bbc65e3c39be0cc52b.tar.xz
yuzu-f69a543110703e09adc830bbc65e3c39be0cc52b.zip
implement wait tree widget
Diffstat (limited to 'src/core/hle/kernel/kernel.h')
-rw-r--r--src/core/hle/kernel/kernel.h3
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
152private: 155private:
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;