K 10 svn:author V 7 davidxu K 8 svn:date V 27 2010-10-17T11:01:52.379126Z K 7 svn:log V 341 - Insert thread0 into correct thread hash link list. - In thr_exit() and kthread_exit(), only remove thread from hash if it can directly exit, otherwise let exit1() do it. - In thread_suspend_check(), fix cleanup code when thread needs to exit. This change seems fixed the "Bad link elm " panic found by Peter Holm. Stress testing: pho END