diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2014-07-04 05:58:32 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2014-07-04 05:58:32 +0000 |
commit | 52dba0415f89a3472c9b55a4430bea6b67cd42ba (patch) | |
tree | 335922ad0dcfc3971b50111c921c495f0d6298ab /usr.bin/mail/head.c | |
parent | f5b56d633ad0f16a7046ad50606fd117803b93fd (diff) |
Track whether a process is a zombie or not yet fully built via flags
PS_{ZOMBIE,EMBRYO} on the process instead of peeking into the process's
thread data. This eliminates the need for the thread-level SDEAD state.
Change kvm_getprocs() (both the sysctl() and kvm backends) to report the
"most active" scheduler state for the process's threads.
tweaks kettenis@
feedback and ok matthew@
Diffstat (limited to 'usr.bin/mail/head.c')
0 files changed, 0 insertions, 0 deletions