]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add in assertions to ensure that we always call msleep or mawait with
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 23 May 2001 19:38:26 +0000 (19:38 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 23 May 2001 19:38:26 +0000 (19:38 +0000)
commitb516d2f5e1f9d2d0a1d694055169a18a1e24f0a3
tree4fb0e3a8b026b6f7b5e3b53833d8fdc2dff8b994
parentf73cf22ade34b4628f6046cd555526b1a7e51d10
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
sys/kern/kern_synch.c