Date: Sun, 10 Sep 2000 17:20:03 -0700 (PDT) From: Jake Burkholder <jake@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/kern kern_synch.c src/sys/sys param.h systm.h Message-ID: <200009110020.RAA81310@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
jake 2000/09/10 17:20:03 PDT Modified files: sys/kern kern_synch.c sys/sys param.h systm.h Log: Rename tsleep to msleep and add a mutex argument, which is released before sleeping and re-acquired before msleep returns. A compatibility cpp macro has been provided for tsleep to avoid changing all occurences of it in the kernel. Remove an assertion that the Giant mutex be held before calling tsleep or asleep. This is intended to serve the same purpose as condition variables, but does not preclude their addition in the future. Approved by: jasone Obtained from: BSD/OS Revision Changes Path 1.98 +20 -5 src/sys/kern/kern_synch.c 1.82 +2 -1 src/sys/sys/param.h 1.118 +5 -2 src/sys/sys/systm.h 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?200009110020.RAA81310>