This is the mail archive of the
mailing list for the Cygwin project.
Re: missing shm_open and shm_unlink
- From: <rnbhays at rochester dot rr dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 29 Feb 2008 13:36:07 -0500
- Subject: Re: missing shm_open and shm_unlink
- Sensitivity: Normal
In reply to Don Marquardt's initial question, Corinna indicated the shm_open and shm_unlink would be supported in the next release. I am using the followign version using the uname -a command
CYGWIN_NT-5.1 1.5.25(0.156/4/2) 2007-12-14 19:21 i686 Cygwin
The two commands do not seem to be supported yet. The version mentioned in Corinna's response is 1.5.24. I am what looks to be the next version. I looked in sys/mman.h and do not see these two function prototypes. Is there a plan to add this functionality?
rnbhays at rochester dot rr dot com
On Mar 12 10:05, Don Marquardt wrote:
> I am building an application that will used shared memory and I have tried
> to compile the attached source file. I have version 3.4.4-3 of the gcc
> compiler and appropriate support libraries.
> If I use a simple gcc command it complains
> $ gcc -Wall -Werror writer.c
> writer.c: In function `main':
> writer.c:34: warning: implicit declaration of function `shm_open'
> writer.c:85: warning: implicit declaration of function `shm_unlink'
POSIX shared memory objects are not implemented in Cygwin up to 1.5.24.
The next release will contain an implementation, but for the time being
just use standard anonymous shared memory.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html