delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/02/28/16:57:56

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
Date: Fri, 1 Mar 2002 08:57:02 +1100
X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.3
Message-ID: <FC169E059D1A0442A04C40F86D9BA76008AAE2@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: AcHAoe6SIjADD1L+TkmhnAp4gJo5mgAALgog
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: "Andrew T. Schnable" <schnable AT enteract DOT com>, <cygwin AT cygwin DOT com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id g1SLvs703069


> -----Original Message-----
> From: Andrew T. Schnable [mailto:schnable AT enteract DOT com] 
> returning -1 and setting errno)
> 
> 
> 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.

No probs. Just drop the patch in , properly changelogged and formatted.
I'll eyeball it for regressions (The pthreads code is (mostly) trivial,
so I comfortable with this.). I/We'll need to write some new regression
tests though. 

Rob

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019