Process: highlight UNINTERRUPTIBLE_WAIT state (D)

Commit d8dfbbd3 ("Tidy up process state handling") did change the
highlighting of the UNINTERRUPTIBLE_WAIT state (D) from red to gray.
As this state might means the process probably still has work to do and
can hint at bottlenecks, revert this particular change.

Fixes: d8dfbbd3 ("Tidy up process state handling")
This commit is contained in:
Christian Göttsche 2021-12-04 18:12:36 +01:00 committed by BenBE
parent 61c9fe44a3
commit a38f48481e
1 changed files with 1 additions and 1 deletions

View File

@ -916,13 +916,13 @@ void Process_writeField(const Process* this, RichString* str, ProcessField field
case BLOCKED: case BLOCKED:
case DEFUNCT: case DEFUNCT:
case STOPPED: case STOPPED:
case UNINTERRUPTIBLE_WAIT:
case ZOMBIE: case ZOMBIE:
attr = CRT_colors[PROCESS_D_STATE]; attr = CRT_colors[PROCESS_D_STATE];
break; break;
case QUEUED: case QUEUED:
case WAITING: case WAITING:
case UNINTERRUPTIBLE_WAIT:
case IDLE: case IDLE:
case SLEEPING: case SLEEPING:
attr = CRT_colors[PROCESS_SHADOW]; attr = CRT_colors[PROCESS_SHADOW];