From owner-cvs-all Sun Sep 10 17:20: 6 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4CA3637B422; Sun, 10 Sep 2000 17:20:03 -0700 (PDT) Received: (from jake@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA81310; Sun, 10 Sep 2000 17:20:03 -0700 (PDT) (envelope-from jake@FreeBSD.org) Message-Id: <200009110020.RAA81310@freefall.freebsd.org> From: Jake Burkholder Date: Sun, 10 Sep 2000 17:20:03 -0700 (PDT) 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 X-FreeBSD-CVS-Branch: HEAD Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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