Qt/WaitTree: Display the callstack for each thread in the wait tree widget.

This commit is contained in:
Subv
2018-05-19 16:52:49 -05:00
parent 1b5c02fc37
commit c50393e066
2 changed files with 37 additions and 0 deletions

View File

@ -73,6 +73,17 @@ private:
Kernel::SharedPtr<Kernel::Thread> owner;
};
class WaitTreeCallstack : public WaitTreeExpandableItem {
Q_OBJECT
public:
explicit WaitTreeCallstack(const Kernel::Thread& thread);
QString GetText() const override;
std::vector<std::unique_ptr<WaitTreeItem>> GetChildren() const override;
private:
const Kernel::Thread& thread;
};
class WaitTreeWaitObject : public WaitTreeExpandableItem {
Q_OBJECT
public: