Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 16:07:17 -0800 (PST)
From:      Kip Macy <kmacy@netapp.com>
To:        Matthew <matthew@netsol.net>
Cc:        questions@FreeBSD.ORG
Subject:   Re: sysv semaphore
Message-ID:  <Pine.GSO.4.10.10202121602200.714-100000@orbit>
In-Reply-To: <003401c1b3ee$99ee8aa0$4d76cb3f@ss3>

next in thread | previous in thread | raw e-mail | index | archive | help
This is really a questions for -questions so I'm moving it to that list.
The semaphore code is all tied to libc_r pthreads, and can be found in the
corresponding directory under libc_r, so I din't know if that fits
your needs. The shm code is in /usr/src/lib/libc/gen/posixshm.c .

Anything not under a GNU directory is BSD licensed as far as I'm aware.


				-Kip




On Tue, 12 Feb 2002, Matthew wrote:

> Thanks for the info. Do you know where I can find the code with a BSD style license?
> --------------------------------------------------
> WWW.XGFORCE.COM - 
> The Next Generation Server Clustering
> and Enterprise Firewall/VPN Solutions.
> --------------------------------------------------
> ----- Original Message ----- 
> From: "k Macy" <kip_macy@yahoo.com>
> To: "Matthew" <matthew@netsol.net>; <hackers@FreeBSD.ORG>
> Sent: Monday, February 11, 2002 9:56 PM
> Subject: Re: sysv semaphore
> 
> 
> > Look at the posix shmem and sem functions:
> > shm_open
> > shm_unlink
> > 
> > sem_open, sem_close, sem_post etc.
> > 
> > --- Matthew <matthew@netsol.net> wrote:
> > > Is there a sysv semphore/shmem implementation using
> > > mmap available for FreeBSD? I need a userland
> > > based sysv
> > > sem/shm library to write a little project, any
> > > pointers?
> > > 
> > > Many thanks in advance
> > > 
> > > Matt
> > > --------------------------------------------------
> > > WWW.XGFORCE.COM -
> > > The Next Generation Server Clustering
> > > and Enterprise Firewall/VPN Solutions.
> > > --------------------------------------------------
> > > 
> > > 
> > > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > > with "unsubscribe freebsd-hackers" in the body of
> > > the message
> > > 
> > > 
> > 
> > 
> > __________________________________________________
> > Do You Yahoo!?
> > Send FREE Valentine eCards with Yahoo! Greetings!
> > http://greetings.yahoo.com
> > 
> > To Unsubscribe: send mail to majordomo@FreeBSD.org
> > with "unsubscribe freebsd-hackers" in the body of the message
> > 
> 
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-hackers" in the body of the message
> 


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.10.10202121602200.714-100000>