*BSD News Article 87682


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!lucy.swin.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!news.Hawaii.Edu!news.mrtc.org!news.he.net!news-feed.inet.tele.dk!sn.no!nntp.uio.no!www.nntp.primenet.com!nntp.primenet.com!feed1.news.erols.com!news.bbnplanet.com!cpk-news-hub1.bbnplanet.com!news.maxwell.syr.edu!news.bc.net!torn!news1.bellglobal.com!sympatico.ca!not-for-mail
From: gbuchanan@localhost.on.sympatico.ca (Gardner Buchanan)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: mset(), mclear(), msleep() and mwakeup(): Where?
Date: 2 Feb 1997 16:00:38 GMT
Organization: Sympatico
Lines: 37
Message-ID: <5d2dn6$9st$1@news1.sympatico.ca>
References: <5cm3nr$o3k$1@news1.sympatico.ca> <5cu45c$6fc@uriah.heep.sax.de> <32F3798E.167EB0E7@freebsd.org>
Reply-To: gbuchanan@sympatico.ca
NNTP-Posting-Host: ppp2141.on.sympatico.ca
X-Newsreader: knews 0.9.3
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34648

In article <32F3798E.167EB0E7@freebsd.org>,
	"John S. Dyson" <dyson@freebsd.org> writes:
>J Wunsch wrote:
>> 
>> gbuchanan@localhost.on.sympatico.ca (Gardner Buchanan) wrote:
>> 
>> > 4.4BSD mmap(MAP_HASSEMAPHORE) supposedly gives the ability to use
>> > shared memory semaphores via mset(), mclear(), msleep() and mwakeup().
>> > On page 491 and 492 Uresh Vahalia says that I can do these things.
>> 
>> Seems Vahalia wrote about a future version of 4.4BSD. :-/
>> 
>If there is enough demand for them, we could include them in a future
>version of FreeBSD.
>

Are you saying that they could just be brought across from Lite2?
or that they would have to be built from scratch?

If they are not actually part of 4.4BSD, where did Vahalia get the
idea from?  I assumed that If they didn't exist in FreeBSD that they
were at least thought out and implemented in some research version.

I cross-posted to freebsd-hackers after I started hearing about
another user-space locking approach there.  If 4.4 really has one
then it makes sense that it be put into FreeBSD.  If not, and
Vahalia is dreaming in technicolour, then importing the facility
from Plan9 or Herd or wherever seems a reasonable course.

Right now, I just want the locks.

Thanks

============================================
Gardner Buchanan    <gbuchanan@sympatico.ca>
Ottawa, ON