Date: Tue, 16 Mar 2004 10:56:22 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern subr_sleepqueue.c Message-ID: <200403161856.i2GIuM9m011197@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2004/03/16 10:56:22 PST
FreeBSD src repository
Modified files:
sys/kern subr_sleepqueue.c
Log:
Remove a bogus assertion and readd it in a more correct location. A thread
might be enqueued on a sleep queue but not be asleep when the timeout fires
if it is blocked on a lock trying to check for pending signals before going
to sleep. In the case of fixing up the TDF_TIMEOUT race, however, the
thread must be marked asleep.
Reported by: kan (the bogus one)
Revision Changes Path
1.4 +1 -1 src/sys/kern/subr_sleepqueue.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200403161856.i2GIuM9m011197>
