Possible race in SYSV IPC (semaphores)

Corinna Vinschen corinna-cygwin@cygwin.com
Mon Nov 26 12:54:00 GMT 2012

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 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

More information about the Cygwin mailing list