Date: Wed, 23 May 2001 12:38:27 -0700 (PDT) From: John Baldwin <jhb@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_synch.c Message-ID: <200105231938.f4NJcRC07053@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2001/05/23 12:38:27 PDT
Modified files:
sys/kern kern_synch.c
Log:
Add in assertions to ensure that we always call msleep or mawait with
either a timeout or a held mutex to detect unprotected infinite sleeps
that can easily lead to deadlock.
Submitted by: alfred
Revision Changes Path
1.139 +5 -1 src/sys/kern/kern_synch.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105231938.f4NJcRC07053>
