Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Message-ID: <001301c1c0a2$1aae73c0$6401a8c0@dopeslap2k> From: "Andrew T. Schnable" To: "Robert Collins" , References: Subject: Re: sem_trywait returns EAGAIN (rather than returning -1 and setting errno) Date: Thu, 28 Feb 2002 16:51:40 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 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 AT enteract DOT com ----- Original Message ----- From: "Robert Collins" To: Cc: "Andrew T. Schnable" 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 AT redhat DOT 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/