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="US-ASCII" Date: Fri, 1 Mar 2002 08:57:02 +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: AcHAoe6SIjADD1L+TkmhnAp4gJo5mgAALgog From: "Robert Collins" To: "Andrew T. Schnable" , Content-Transfer-Encoding: 8bit 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/