X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-1.2 required=5.0 tests=AWL,BAYES_40,KHOP_THREADED,RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Message-ID: <50621C0F.7050208@tlinx.org> Date: Tue, 25 Sep 2012 14:03:11 -0700 From: Linda Walsh User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.8.1.24) Gecko/20100228 Lightning/0.9 Thunderbird/2.0.0.24 Mnenhy/0.7.6.666 MIME-Version: 1.0 To: cygwin AT cygwin DOT com Subject: Re: No support for sharing unnamed semaphores between processes through shared memory? References: In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Matt Sexton wrote: > Hello, > > I am attempting to port to Cygwin an application that synchronizes > between processes using unnamed semaphores in shared memory. Both > processes have mapped the shared memory region, one process > initialize ---- There's a cygwin process that you have to have running for shared memory that "hosts" or holds on to the shared memory. I think it is the Cygwin cygserver....(but don't kill me if I'm wrong)... Something needs to hang around and hold onto that shared memory, or windows will recycle it. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple