X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Mon, 26 Nov 2012 13:53:42 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: Possible race in SYSV IPC (semaphores) Message-ID: <20121126125342.GA3800@calimero.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <5F8AAC04F9616747BC4CC0E803D5907D012856 AT MLBXV09 DOT nih DOT gov> <20121123113605 DOT GN17347 AT calimero DOT vinschen DOT de> <20121123131020 DOT GR17347 AT calimero DOT vinschen DOT de> <20121123133332 DOT GU17347 AT calimero DOT vinschen DOT de> <20121123164404 DOT GX17347 AT calimero DOT vinschen DOT de> <5F8AAC04F9616747BC4CC0E803D5907D0162C6 AT MLBXv04 DOT nih DOT gov> <20121123172937 DOT GA12624 AT calimero DOT vinschen DOT de> <5F8AAC04F9616747BC4CC0E803D5907D0162E7 AT MLBXv04 DOT nih DOT gov> <20121123175903 DOT GA11546 AT calimero DOT vinschen DOT de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20121123175903.GA11546@calimero.vinschen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 On Nov 23 18:59, Corinna Vinschen wrote: > On Nov 23 17:47, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: > > > I agree. I'll do that in the next couple of days. > > > > Thank you. Please let me know when you do, so that I can > > check the relevant snapshot out. > > Yes, I'll try. I just checked in the change. > > Incidentally, have you been able to confirm the dead-locking > > that I reported earlier (below)? I just ran the patched cygserver > > with the "-d -l 7" arguments, along with my test case, and both > > dead-locked just as before. > > No, I didn't test that. If you have any chance to debug that, I'd > appreciate it. ...especially since I can't reproduce this. I tried with cygserver before and after my patch and in both cases your semaphore testcase worked as expectd with -d -l 7. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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