Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sources.redhat.com/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> 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: <FC169E059D1A0442A04C40F86D9BA76008AAD8@itdomain003.itdomain.net.au> 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" <robert DOT collins AT itdomain DOT com DOT au> To: <cygwin AT cygwin DOT com> Cc: "Andrew T. Schnable" <schnable AT enteract DOT com> 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/