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 content-class: urn:content-classes:message Subject: RE: sem_trywait returns EAGAIN (rather than returning -1 and setting errno) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Date: Fri, 1 Mar 2002 00:55:17 +1100 X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: sem_trywait returns EAGAIN (rather than returning -1 and setting errno) Thread-Index: AcG/JpZiZQFhCIgoR2iJlRcpL/H+3gBONRjw From: "Robert Collins" To: Cc: "Andrew T. Schnable" Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g1SDuGk02647 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/