cvs commit: src/sys/kern kern_synch.c
John Baldwin
jhb at FreeBSD.org
Wed Nov 15 20:44:23 UTC 2006
jhb 2006-11-15 20:44:07 UTC
FreeBSD src repository
Modified files:
sys/kern kern_synch.c
Log:
Adjust assertions to allow for magical properties of the 'lbolt' wait
channel for tsleep():
- Allow tsleep() on &lbolt without Giant with a timeout 0 since &lbolt has
an implied timeout.
- If &lbolt is used with msleep() pass NULL to sleepq_add() for the lock
object. Unlike other sleepq channels, &lbolt doesn't have an associated
owning lock.
Revision Changes Path
1.283 +3 -3 src/sys/kern/kern_synch.c
More information about the cvs-src
mailing list