sem_trywait returns EAGAIN (rather than returning -1 and setting errno)
Andrew T. Schnable
schnable@enteract.com
Thu Feb 28 14:20:00 GMT 2002
I think all the sem_* functions are broken similarly. I have the threads.cc file modified
and was going to try and submit patches, but I am having some issues getting
the regression tests working (even before I put my changes in...) A soon as
I get these issues resolved and verify my fixes, I can try and submit
a patch for everything (like all good cygwin users should!) (Unless of course you
beat me to it - and at this rate - you will!)
Thanks for helping me out with this.
Andy
schnable@enteract.com
----- Original Message -----
From: "Robert Collins" <robert.collins@itdomain.com.au>
To: <cygwin@cygwin.com>
Cc: "Andrew T. Schnable" <schnable@enteract.com>
Sent: Thursday, February 28, 2002 8:55 AM
Subject: RE: sem_trywait returns EAGAIN (rather than returning -1 and setting errno)
FWIW, I've patched sem_trywait and sem_wait. I haven't looked for further cases of misbehaviour though.
Rob
> -----Original Message-----
> From: Christopher Faylor [mailto:cgf@redhat.com]
> As Robert indicated, in the vast majority of those cases,
> this was, in fact, the right thing to do.
>
> It's apparently not the right thing to do in the case of
> sem_trywait, so a patch will be required:
> http://cygwin.com/contrib.html .
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list