Add threads to the process-retrieval sysctls so they show up in top, ps, etc.
authorMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Jun 2003 23:54:04 +0000 (23:54 +0000)
committerMatthew Dillon <dillon@dragonflybsd.org>
Mon, 30 Jun 2003 23:54:04 +0000 (23:54 +0000)
commit73e4f7b939e100687a39d95bf490e9a15c0d8780
tree4500f68d282e2f6ea003116edf769515f40f7b80
parentc008d3ad1975408adf2003ca58de38555c5e5450
Add threads to the process-retrieval sysctls so they show up in top, ps, etc.
Reorder the boot sequence a little to add a TAILQ for all threads.   Add
a td_refs field to prevent a thread from disappearing on us.
sys/i386/i386/machdep.c
sys/kern/init_main.c
sys/kern/kern_exit.c
sys/kern/kern_proc.c
sys/kern/lwkt_thread.c
sys/platform/pc32/i386/machdep.c
sys/sys/globaldata.h
sys/sys/proc.h
sys/sys/rtprio.h
sys/sys/thread.h
sys/sys/user.h