Qt: Update the WaitTree widget to show info about the current mutex of each thread.

This commit is contained in:
Subv 2018-04-20 15:52:06 -05:00
parent be155f4d9d
commit 013778aa21
5 changed files with 55 additions and 90 deletions

View file

@ -18,12 +18,10 @@ using Handle = u32;
enum class HandleType : u32 {
Unknown,
Event,
Mutex,
SharedMemory,
Thread,
Process,
AddressArbiter,
ConditionVariable,
Timer,
ResourceLimit,
CodeSet,
@ -63,9 +61,7 @@ public:
bool IsWaitable() const {
switch (GetHandleType()) {
case HandleType::Event:
case HandleType::Mutex:
case HandleType::Thread:
case HandleType::ConditionVariable:
case HandleType::Timer:
case HandleType::ServerPort:
case HandleType::ServerSession: