Date: Mon, 23 Oct 2006 20:07:46 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/lib/libc_r/uthread uthread_select.c uthread_sig.c Message-ID: <200610232007.k9NK7kkh018348@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2006-10-23 20:07:46 UTC FreeBSD src repository Modified files: (Branch: RELENG_6) lib/libc_r/uthread uthread_select.c uthread_sig.c Log: MFC: Various uthread fixes: - Delay setting wakeup time until after poll array has been allocated. Blocking on the malloc spinlock would cause the select timeout to be lost. (uthread_select.c 1.22) - Delay unblocking signal and restoring process signal mask until the thread signal mask has been updated to avoid stack overflow during signal bursts. Don't block signal forever if no threads can currently handle signal. Check for pending signal after direct invocation of signal handler. (uthread_select.c 1.47) - Backout unblocking of signal if no threads can currently handle it. The check for pending signal after direct invocation of signal handler is sufficient. (uthread_select.c 1.48) Approved by: re (mux, bmah) Revision Changes Path 1.21.14.1 +20 -20 src/lib/libc_r/uthread/uthread_select.c 1.46.10.1 +38 -17 src/lib/libc_r/uthread/uthread_sig.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200610232007.k9NK7kkh018348>