PCP: fixup: missing setter for isUserlandThread

fixes the color of PROC_COMM for PCP...
This commit is contained in:
Sohaib Mohamed 2021-07-18 10:00:59 +02:00 committed by BenBE
parent 2fe4a6351e
commit 82aa956940
1 changed files with 1 additions and 0 deletions

View File

@ -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