mirror of
https://github.com/xzeldon/htop.git
synced 2024-12-24 15:15:44 +00:00
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
Block a user