This is the mail archive of the
cygwin-xfree@cygwin.com
mailing list for the Cygwin XFree86 project.
Re: Shared memory?
- From: mika dot laitio at sysline dot com
- To: cygwin-xfree at cygwin dot com
- Date: Mon, 7 Oct 2002 18:42:14 +0300
- Subject: Re: Shared memory?
- Reply-to: cygwin-xfree at cygwin dot com
I am also having problems with shared memory segments in Windoes-dll.
I trying to make a dll which- can be used from two different application
(process) and which can still share the same data-segment.
(Ie. application two can read data that is set by application one)
I need to use -mno-cygwin option while compiling this dll.
Mika
Harold L Hunt II <huntharo@msu.edu>
Sent by: cygwin-xfree-owner@cygwin.com
30.09.2002 22:59
Please respond to cygwin-xfree
To: cygwin-xfree@cygwin.com
cc:
Subject: Re: Shared memory?
Jean-Claude,
Yes, but you have to run some service that supports the SHM model (I
forget the package name or whether it was ever rolled into a Cygwin
setup package that is in the primary distribution, and for anyone about
to jog my memory: I don't care either).
Go look at the KDE on Cygwin pages if you want more information. They
have to build Cygwin/XFree86 with the MITSHM extension in order to
support KDE. The ``cygipc'' library or package comes to mind, as we
have some #ifdef test in xc/config/cf/cygwin.* that check CygIPC.
In case you were wondering, MITSHM is not enabled in the default build,
nor in the default Cygwin/XFree86 distribution, because the cygipc
library/package/whatever is either 1) not included in the default
distribution, 2) not stable enough, 3) not automatically installed with
absolutely no user intervention, or 4) because no one poked me to let me
know that the previous 3 possibilities have all been taken care of.
There, that should give you enough to Google on.
Harold
Jean-Claude Gervais wrote:
> Does Cygwin support any equivalent to the *nux shared memory APIs?
> The shm* functions.
>
> Thanks.
>
>