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
cba69596
Commit
cba69596
authored
Apr 21, 2017
by
Diederik de Groot
Browse files
Fix: TreeView
parent
49af12e7
Changes
1
Show whitespace changes
Inline
Side-by-side
dragonflybsd/DragonFlyBSDProcessList.c
View file @
cba69596
...
@@ -445,7 +445,8 @@ void ProcessList_goThroughEntries(ProcessList* this) {
...
@@ -445,7 +445,8 @@ void ProcessList_goThroughEntries(ProcessList* this) {
}
}
proc
->
ppid
=
kproc
->
kp_ppid
;
// parent process id
proc
->
ppid
=
kproc
->
kp_ppid
;
// parent process id
proc
->
tpgid
=
kproc
->
kp_tpgid
;
// tty process group id
proc
->
tpgid
=
kproc
->
kp_tpgid
;
// tty process group id
proc
->
tgid
=
kproc
->
kp_lwp
.
kl_tid
;
// thread group id
//proc->tgid = kproc->kp_lwp.kl_tid; // thread group id
proc
->
tgid
=
kproc
->
kp_pid
;
// thread group id
proc
->
pgrp
=
kproc
->
kp_pgid
;
// process group id
proc
->
pgrp
=
kproc
->
kp_pgid
;
// process group id
proc
->
session
=
kproc
->
kp_sid
;
proc
->
session
=
kproc
->
kp_sid
;
proc
->
tty_nr
=
kproc
->
kp_tdev
;
// control terminal device number
proc
->
tty_nr
=
kproc
->
kp_tdev
;
// control terminal device number
...
...
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