From owner-cvs-sys Thu Apr 30 02:40:37 1998 Return-Path: Received: (from daemon@localhost) by hub.freebsd.org (8.8.8/8.8.8) id CAA11100 for cvs-sys-outgoing; Thu, 30 Apr 1998 02:40:37 -0700 (PDT) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id CAA10849; Thu, 30 Apr 1998 02:39:57 -0700 (PDT) (envelope-from jb@FreeBSD.org) From: John Birrell Received: (from jb@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id CAA10170; Thu, 30 Apr 1998 02:38:04 -0700 (PDT) Date: Thu, 30 Apr 1998 02:38:04 -0700 (PDT) Message-Id: <199804300938.CAA10170@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/sys errno.h Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk jb 1998/04/30 02:38:03 PDT Modified files: sys/sys errno.h Log: Make errno finally and permanently thread-aware so that it is no longer necessary to compile with _THREAD_SAFE defined. This means that people will get thread-aware code whether they like it or not. This change is required to allow a process to link against libpthread and libc to use kernel threads (and prevent each thread from clobbering another thread's errno just be doing a syscall). This is bound to break some ports, but it is strictly allowed by ANSI C, so anything that breaks as a result was already broken anyway 8-). "Sorry". Revision Changes Path 1.10 +1 -5 src/sys/sys/errno.h