mirror of https://github.com/xzeldon/htop.git
PCP: fixup: missing setter for isUserlandThread
fixes the color of PROC_COMM for PCP...
This commit is contained in:
parent
2fe4a6351e
commit
82aa956940
|
@ -323,6 +323,7 @@ static bool PCPProcessList_updateProcesses(PCPProcessList* this, double period,
|
|||
Process* proc = ProcessList_getProcess(pl, pid, &preExisting, PCPProcess_new);
|
||||
PCPProcess* pp = (PCPProcess*) proc;
|
||||
PCPProcessList_updateID(proc, pid, offset);
|
||||
proc->isUserlandThread = proc->pid != proc->tgid;
|
||||
|
||||
/*
|
||||
* These conditions will not trigger on first occurrence, cause we need to
|
||||
|
|
Loading…
Reference in New Issue