Date: Wed, 20 Aug 2003 06:43:35 -0700 (PDT) From: David Xu <davidxu@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libpthread/thread thr_sig.c Message-ID: <200308201343.h7KDhZxY061649@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2003/08/20 06:43:35 PDT FreeBSD src repository Modified files: lib/libpthread/thread thr_sig.c Log: _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. Revision Changes Path 1.69 +3 -0 src/lib/libpthread/thread/thr_sig.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200308201343.h7KDhZxY061649>