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 Date: Tue, 26 Feb 2002 17:19:13 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: sem_trywait returns EAGAIN (rather than returning -1 and setting errno) Message-ID: <20020226221913.GA20206@redhat.com> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.3.23.1i On Wed, Feb 27, 2002 at 09:08:54AM +1100, Robert Collins wrote: > > >> -----Original Message----- >> From: Christopher Faylor [mailto:cgf AT redhat DOT com] > >> On Tue, Feb 26, 2002 at 08:37:35PM +1100, Robert Collins wrote: >> >The problem should _not_ be endemic in the pthreads code, as >> I rewrote >> >nearly all the pthread* functions from the P1003.1 draft spec. >> >> % grep 'return E' thread.cc > >*Sigh*. That just shows that that is what the code is meant to do. In other words, RTFM, cgf. When you think about it, it would make zero sense for functions which dealt with threads to set errno. Sorry about that. I REALLY should have known better on multiple counts. (hangs head in shame) cgf -- 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/