implement wait tree widget

This commit is contained in:
wwylele 2016-04-08 19:28:54 +03:00
parent c59bdecd23
commit f69a543110
9 changed files with 636 additions and 0 deletions

View file

@ -149,6 +149,9 @@ public:
/// Wake up all threads waiting on this object
void WakeupAllWaitingThreads();
/// Get a const reference to the waiting threads list for debug use
const std::vector<SharedPtr<Thread>>& GetWaitingThreads() const;
private:
/// Threads waiting for this object to become available
std::vector<SharedPtr<Thread>> waiting_threads;