Add CondVar Thread State.
This commit is contained in:
parent
3d0e8caef2
commit
fbff276b26
5 changed files with 10 additions and 4 deletions
|
@ -234,6 +234,9 @@ QString WaitTreeThread::GetText() const {
|
|||
case Kernel::ThreadStatus::WaitMutex:
|
||||
status = tr("waiting for mutex");
|
||||
break;
|
||||
case Kernel::ThreadStatus::WaitCondVar:
|
||||
status = tr("waiting for condition variable");
|
||||
break;
|
||||
case Kernel::ThreadStatus::WaitArb:
|
||||
status = tr("waiting for address arbiter");
|
||||
break;
|
||||
|
@ -269,6 +272,7 @@ QColor WaitTreeThread::GetColor() const {
|
|||
case Kernel::ThreadStatus::WaitSynchAll:
|
||||
case Kernel::ThreadStatus::WaitSynchAny:
|
||||
case Kernel::ThreadStatus::WaitMutex:
|
||||
case Kernel::ThreadStatus::WaitCondVar:
|
||||
case Kernel::ThreadStatus::WaitArb:
|
||||
return QColor(Qt::GlobalColor::red);
|
||||
case Kernel::ThreadStatus::Dormant:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue