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
[EMAIL PROTECTED]


----- Original Message ----- 
From: "Robert Collins" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Andrew T. Schnable" <[EMAIL PROTECTED]>
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:[EMAIL PROTECTED]] 

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

Reply via email to