Date: Wed, 15 Nov 2006 20:44:07 +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/sys/kern kern_synch.c Message-ID: <200611152044.kAFKi7Qi066713@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200611152044.kAFKi7Qi066713>