Date: Mon, 1 Dec 2008 01:54:55 +0000 (UTC) From: David Xu <davidxu@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r185502 - head/sys/kern Message-ID: <200812010154.mB11stAX008616@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: davidxu Date: Mon Dec 1 01:54:55 2008 New Revision: 185502 URL: http://svn.freebsd.org/changeset/base/185502 Log: Revision 184199 had not been fully reverted, add missing piece. Reported by: phk Modified: head/sys/kern/subr_sleepqueue.c Modified: head/sys/kern/subr_sleepqueue.c ============================================================================== --- head/sys/kern/subr_sleepqueue.c Mon Dec 1 01:45:52 2008 (r185501) +++ head/sys/kern/subr_sleepqueue.c Mon Dec 1 01:54:55 2008 (r185502) @@ -424,6 +424,10 @@ sleepq_catch_signals(void *wchan, int pr PROC_UNLOCK(p); thread_lock(td); PROC_SUNLOCK(p); + if (ret == 0) { + sleepq_switch(wchan, pri); + return (0); + } /* * There were pending signals and this thread is still * on the sleep queue, remove it from the sleep queue.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200812010154.mB11stAX008616>