mirror of
https://github.com/xzeldon/htop.git
synced 2025-01-31 09:07:25 +03:00
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…
x
Reference in New Issue
Block a user