Date: Wed, 9 Jul 2003 07:30:52 -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 thr_sigwait.c Message-ID: <200307091430.h69EUqG5051486@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
davidxu 2003/07/09 07:30:52 PDT FreeBSD src repository Modified files: lib/libpthread/thread thr_sig.c thr_sigwait.c Log: POSIX says if a thread is in sigwait state, although a signal may not in its waitset, but if the signal is not masked by the thread, the signal can interrupt the thread and signal action can be invoked by the thread, sigwait should return with errno set to EINTR. Also save and restore thread internal state(timeout and interrupted) around signal handler invoking. Revision Changes Path 1.60 +23 -6 src/lib/libpthread/thread/thr_sig.c 1.30 +6 -5 src/lib/libpthread/thread/thr_sigwait.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200307091430.h69EUqG5051486>