Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
htop
Commits
416ef48a
Commit
416ef48a
authored
Mar 27, 2018
by
Guy M. Broome
Committed by
Hisham Muhammad
Apr 06, 2018
Browse files
Solaris: If a process has a running LWP, then the process is by definition running
parent
b9e0da92
Changes
1
Hide whitespace changes
Inline
Side-by-side
solaris/SolarisProcessList.c
View file @
416ef48a
...
@@ -362,6 +362,8 @@ void ProcessList_enumerateLWPs(Process* proc, char* name, ProcessList* pl, struc
...
@@ -362,6 +362,8 @@ void ProcessList_enumerateLWPs(Process* proc, char* name, ProcessList* pl, struc
slwp
->
poolid
=
sproc
->
poolid
;
slwp
->
poolid
=
sproc
->
poolid
;
slwp
->
contid
=
sproc
->
contid
;
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
(
slwp
->
kernel
)
{
if
(
!
hideKernelThreads
)
{
if
(
!
hideKernelThreads
)
{
lwp
->
show
=
true
;
lwp
->
show
=
true
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment