From owner-freebsd-current Thu May 14 01:31:56 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id BAA07312 for freebsd-current-outgoing; Thu, 14 May 1998 01:31:56 -0700 (PDT) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from parkplace.cet.co.jp (parkplace.cet.co.jp [202.32.64.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id BAA07305; Thu, 14 May 1998 01:31:52 -0700 (PDT) (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 IAA02157; Thu, 14 May 1998 08:30:57 GMT Date: Thu, 14 May 1998 17:30:57 +0900 (JST) From: Michael Hancock To: Julian Elischer cc: "John S. Dyson" , jb@cimlogic.com.au, current@FreeBSD.ORG Subject: Re: Undefined symbol "___error" In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 14 May 1998, Julian Elischer wrote: > I don't understand why the old errno can't continue to exist and be > updated by all syscalls. > (just for compatibility for now) In a threaded environment you need a per-thread errno for compatibility. There's no point in keeping 2 errnos around especially if one is going to be shadowed by the other anyway. In the single threaded app case, main will have a single thread associated with it and an errno specific to that thread. Regards, Mike To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message