Subject: RE: sem_trywait returns EAGAIN (rather than returning -1 and setting errno)
From: "Robert Collins" <[email-masked]>
To: <[email-masked]>
Cc: "Andrew T. Schnable" <[email-masked]>
Date: Fri, 1 Mar 2002 00:55:17 +1100

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

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