K 10 svn:author V 6 julian K 8 svn:date V 27 2002-10-24T08:46:34.000000Z K 7 svn:log V 246 Move thread related code from kern_proc.c to kern_thread.c. Add code to free KSEs and KSEGRPs on exit. Sort KSE prototypes in proc.h. Add the missing kse_exit() syscall. ksetest now does not leak KSEs and KSEGRPS. Submitted by: (parts) davidxu END