K 10 svn:author V 7 davidxu K 8 svn:date V 27 2003-08-20T13:43:35.000000Z K 7 svn:log V 466 _thr_sig_check_pending is also called by scope system thread when it leaves critical region, we wrap some syscalls for thread cancellation point, and when syscalls returns, we call _thr_leave_cancellation_point, at the time if a signal comes in, it would be buffered, and when the thread leaves _thr_leave_cancellation_point, buffered signals will be processed, to avoid messing up normal syscall errno, we should save and restore errno around signal handling code. END