cvs commit: src/sys/kern subr_sleepqueue.c
John Baldwin
jhb at FreeBSD.org
Tue Mar 16 10:56:22 PST 2004
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
More information about the cvs-src
mailing list