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
b9e0da9200
commit
416ef48a62
|
@ -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