mirror of https://github.com/xzeldon/htop.git
Solaris: If a process has a running LWP, then the process is by definition running
This commit is contained in:
parent
0dbedf95a8
commit
c235b45cd6
|
@ -362,6 +362,8 @@ void ProcessList_enumerateLWPs(Process* proc, char* name, ProcessList* pl, struc
|
|||
slwp->poolid = sproc->poolid;
|
||||
slwp->contid = sproc->contid;
|
||||
}
|
||||
// Top-level process only gets this for the representative LWP
|
||||
if (lwp->state == 'O') proc->state = 'O';
|
||||
if (slwp->kernel) {
|
||||
if(!hideKernelThreads) {
|
||||
lwp->show = true;
|
||||
|
|
Loading…
Reference in New Issue