delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <16736284.142691204310167602.JavaMail.root@hrndva-web11-z02> |
Date: | Fri, 29 Feb 2008 13:36:07 -0500 |
From: | <rnbhays AT rochester DOT rr DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: missing shm_open and shm_unlink |
MIME-Version: | 1.0 |
Sensitivity: | Normal |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
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? Thanks Rex Hays 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. Corinna -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |