K 10 svn:author V 7 davidxu K 8 svn:date V 27 2008-03-18T02:06:51.000000Z K 7 svn:log V 359 - Copy signal mask out before THR_UNLOCK(), because THR_UNLOCK() may call _thr_suspend_check() which messes sigmask saved in thread structure. - Don't suspend a thread has force_exit set. - In pthread_exit(), if there is a suspension flag set, wake up waiting- thread after setting PS_DEAD, this causes waiting-thread to break loop in suspend_common(). END