K 10 svn:author V 7 davidxu K 8 svn:date V 27 2004-12-01T13:50:04.000000Z K 7 svn:log V 259 If a thread is resumed by thr_wake, it should return 0, especially it should not return ERESTART after it caught a signal, otherwise thr_wake() call will be lost, also a timeout wait should not be restarted. Final, using wakeup not wakeup_one to be safeness. END