From owner-freebsd-hackers Tue Nov 25 17:14:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA25713 for hackers-outgoing; Tue, 25 Nov 1997 17:14:41 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA25684 for ; Tue, 25 Nov 1997 17:14:37 -0800 (PST) (envelope-from michaelh@cet.co.jp) Received: from localhost (michaelh@localhost) by parkplace.cet.co.jp (8.8.8/CET-v2.2) with SMTP id BAA23284; Wed, 26 Nov 1997 01:13:39 GMT Date: Wed, 26 Nov 1997 10:13:38 +0900 (JST) From: Michael Hancock To: Terry Lambert cc: nash@mcs.com, bradley@dunn.org, freebsd-hackers@FreeBSD.ORG Subject: Re: pthread_cond_timedwait returning wrong error? In-Reply-To: <199711251746.KAA02503@usr08.primenet.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 25 Nov 1997, Terry Lambert wrote: > > From what I can tell by looking at an old DEC OSF/1 reference on > > pthreads, returning -1 an setting errno is the way things used to work. > > Apparently POSIX has changed that. > > Given that "errno" is a global variable, this is actually a good thing. This would give you some nasty races to deal with, it'd be a nightmare. Mike Hancock