Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 May 1998 17:30:57 +0900 (JST)
From:      Michael Hancock <michaelh@cet.co.jp>
To:        Julian Elischer <julian@whistle.com>
Cc:        "John S. Dyson" <dyson@FreeBSD.ORG>, jb@cimlogic.com.au, current@FreeBSD.ORG
Subject:   Re: Undefined symbol "___error"
Message-ID:  <Pine.SV4.3.95.980514172621.1994C-100000@parkplace.cet.co.jp>
In-Reply-To: <Pine.BSF.3.95.980514001109.11116F-100000@current1.whistle.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.SV4.3.95.980514172621.1994C-100000>