K 10 svn:author V 3 jhb K 8 svn:date V 27 2003-04-18T20:20:00.000000Z K 7 svn:log V 191 Use the proc lock to protect p_singlethread and a P_WEXIT test. This fixes a couple of potential KSE panics on non-i386 arch's that weren't holding the proc lock when calling thread_exit(). END