Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2002 16:27:44 -0800
From:      "Matthew" <matthew@netsol.net>
To:        "Kip Macy" <kmacy@netapp.com>
Cc:        <questions@FreeBSD.ORG>
Subject:   Re: sysv semaphore
Message-ID:  <004701c1b425$429f4b90$4d76cb3f@ss3>
References:  <Pine.GSO.4.10.10202121602200.714-100000@orbit>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks for the help. Doesn't look like the code in libc_r using mmap. It uses pthread. I need a mmap
coded sem/shm implementation to port a software from UNIX to NT. NT has no sysv sem/shm nor pthread.
There's a Linux sysv lib but it's GNU, look like I have to write my own sysv IPC for NT.

Well, any more pointers?
--------------------------------------------------
WWW.XGFORCE.COM -
The Next Generation Server Clustering
and Enterprise Firewall/VPN Solutions.
--------------------------------------------------
----- Original Message -----
From: "Kip Macy" <kmacy@netapp.com>
To: "Matthew" <matthew@netsol.net>
Cc: <questions@FreeBSD.ORG>
Sent: Tuesday, February 12, 2002 4:07 PM
Subject: Re: sysv semaphore


> 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?004701c1b425$429f4b90$4d76cb3f>