Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Apr 2001 13:56:12 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Zhihui Zhang <zzhang@cs.binghamton.edu>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: cv_wait() or sv_wait() in FreeBSD
Message-ID:  <20010423135611.X1790@fw.wintelcom.net>
In-Reply-To: <Pine.SOL.4.21.0104231530570.11741-100000@opal>; from zzhang@cs.binghamton.edu on Mon, Apr 23, 2001 at 03:33:04PM -0400
References:  <Pine.SOL.4.21.0104231530570.11741-100000@opal>

next in thread | previous in thread | raw e-mail | index | archive | help
* Zhihui Zhang <zzhang@cs.binghamton.edu> [010423 12:33] wrote:
> 
> Do we have conditional/synchronization variable support in FreeBSD? If
> not, is there any alternative mechanism to use in the kernel? Thanks.

FreeBSD Current has these, see the cv_wait manpage.  FreeBSD stable
doesn't and you can use the traditional tsleep/wakeup/wakeup_one
mechanisms.

-- 
-Alfred Perlstein - [alfred@freebsd.org]
Instead of asking why a piece of software is using "1970s technology,"
start asking why software is ignoring 30 years of accumulated wisdom.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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