Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
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
7 years ago
by
Guy M. Broome
Committed by
Hisham Muhammad
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Solaris: If a process has a running LWP, then the process is by definition running
parent
b9e0da92
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
solaris/SolarisProcessList.c
+2
-0
solaris/SolarisProcessList.c
with
2 additions
and
0 deletions
+2
-0
solaris/SolarisProcessList.c
View file @
416ef48a
...
...
@@ -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
;
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help