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

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
Message-ID: <001301c1c0a2$1aae73c0$6401a8c0@dopeslap2k>
From: "Andrew T. Schnable" <schnable AT enteract DOT com>
To: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>, <cygwin AT cygwin DOT com>
References: <FC169E059D1A0442A04C40F86D9BA76008AAD8 AT itdomain003 DOT itdomain DOT net DOT au>
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
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" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin AT cygwin DOT com>
Cc: "Andrew T. Schnable" <schnable AT enteract DOT com>
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/

- Raw text -


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