From owner-cvs-all Sun Jul 8 10:19:55 2001 Delivered-To: cvs-all@freebsd.org Received: from sneakerz.org (sneakerz.org [216.33.66.254]) by hub.freebsd.org (Postfix) with ESMTP id 065C937B401; Sun, 8 Jul 2001 10:19:49 -0700 (PDT) (envelope-from bright@sneakerz.org) Received: by sneakerz.org (Postfix, from userid 1092) id 857145D01F; Sun, 8 Jul 2001 12:19:38 -0500 (CDT) Date: Sun, 8 Jul 2001 12:19:38 -0500 From: Alfred Perlstein To: Darren Reed Cc: mjacob@feral.com, dfr@nlsystems.com, jhb@FreeBSD.org, dillon@earth.backplane.com, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, jake@FreeBSD.org Subject: Re: cvs commit: src/sys/sys systm.h condvar.h src/sys/kern kern_ Message-ID: <20010708121938.P88962@sneakerz.org> References: <20010705091047.C37950-100000@wonky.feral.com> <200107060029.KAA16561@avalon.reed.wattle.id.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <200107060029.KAA16561@avalon.reed.wattle.id.au>; from darrenr@reed.wattle.id.au on Fri, Jul 06, 2001 at 10:29:01AM +1000 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG * Darren Reed [010708 08:05] wrote: > > Hmm, after thinking about it some, it would appear to me, at least, that > the wakeup()/sleep() API is not well suited to the task it used to serve > in an SMP environment. No, it's just that people don't get it right sometimes. msleep() is akin to pretendending that a condvar exists at the address passed to be slept on, wakeup/wakeup_one is quite close to cv_sig/cv_broadcast. -- -Alfred Perlstein [alfred@freebsd.org] Ok, who wrote this damn function called '??'? And why do my programs keep crashing in it? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message