From owner-freebsd-questions Tue Feb 12 16: 7:53 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx01-a.netapp.com (mx01-a.netapp.com [198.95.226.53]) by hub.freebsd.org (Postfix) with ESMTP id 7EF0837B402 for ; Tue, 12 Feb 2002 16:07:42 -0800 (PST) Received: from frejya.corp.netapp.com (frejya [10.10.20.91]) by mx01-a.netapp.com (8.11.1/8.11.1/NTAP-1.2) with ESMTP id g1D07N312974; Tue, 12 Feb 2002 16:07:28 -0800 (PST) Received: from orbit-fe.eng (localhost [127.0.0.1]) by frejya.corp.netapp.com (8.12.2/8.12.2/NTAP-1.4) with ESMTP id g1D07MfT022956; Tue, 12 Feb 2002 16:07:22 -0800 (PST) Received: from localhost (kmacy@localhost) by orbit-fe.eng (8.10.2+Sun/8.10.2) with ESMTP id g1D07HZ20731; Tue, 12 Feb 2002 16:07:21 -0800 (PST) Date: Tue, 12 Feb 2002 16:07:17 -0800 (PST) From: Kip Macy To: Matthew Cc: questions@FreeBSD.ORG Subject: Re: sysv semaphore In-Reply-To: <003401c1b3ee$99ee8aa0$4d76cb3f@ss3> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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" > To: "Matthew" ; > 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 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