Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jul 2001 12:19:38 -0500
From:      Alfred Perlstein <bright@sneakerz.org>
To:        Darren Reed <darrenr@reed.wattle.id.au>
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>
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 %2B1000
References:  <20010705091047.C37950-100000@wonky.feral.com> <200107060029.KAA16561@avalon.reed.wattle.id.au>

next in thread | previous in thread | raw e-mail | index | archive | help
* Darren Reed <darrenr@reed.wattle.id.au> [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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010708121938.P88962>