From 416ef48a6268ddd2da59827a020c0c0893e32c85 Mon Sep 17 00:00:00 2001 From: "Guy M. Broome" Date: Tue, 27 Mar 2018 14:11:22 -0400 Subject: Solaris: If a process has a running LWP, then the process is by definition running --- solaris/SolarisProcessList.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/solaris/SolarisProcessList.c b/solaris/SolarisProcessList.c index 931df738..cf2c440c 100644 --- a/solaris/SolarisProcessList.c +++ b/solaris/SolarisProcessList.c @@ -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; -- cgit v1.2.3