From owner-cvs-all Sun Mar 8 14:17:41 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA19559 for cvs-all-outgoing; Sun, 8 Mar 1998 14:17:41 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from hda.hda.com (hda-bicnet.bicnet.net [208.220.66.37]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA19547 for ; Sun, 8 Mar 1998 14:17:23 -0800 (PST) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id RAA16193; Sun, 8 Mar 1998 17:16:58 -0500 (EST) From: Peter Dufault Message-Id: <199803082216.RAA16193@hda.hda.com> Subject: Re: cvs commit: src/include sched.h Makefile In-Reply-To: <199803082200.JAA14244@cimlogic.com.au> from John Birrell at "Mar 9, 98 09:00:03 am" To: jb@cimlogic.com.au (John Birrell) Date: Sun, 8 Mar 1998 17:16:58 -0500 (EST) Cc: cvs-committers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL25 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > Umm, I think _POSIX_VERSION is intended to indicate that greatest > level of POSIX functionality that is available from the system. Yes - but to test new features it is useful to be able to set _POSIX_VERSION to bring out the features you're testing. The kernel itself should be as independent of _POSIX_VERSION as possible. > With kernel thread support on it's way, that should be defined > as 199506L (p54 of 1003.1-1996). > _POSIX_C_SOURCE is the "feature > test macro" (p43 of 1003.1-1996) that a programmer can set to a > value to get header files to behave at a certain level of POSIX. > If a programmer sets _POSIX_C_SOURCE = 199309L, then the header > files are only allowed to define things in 1003.1-1993 which > should exclude thread stuff. Right, unless explicitly enabled via some implementation macro. We couldn't set _POSIX_VERSION to 199506L with any degree of honesty. -- Peter Dufault (dufault@hda.com) Realtime development, Machine control, HD Associates, Inc. Safety critical systems, Agency approval To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message