Date: Sun, 8 Mar 1998 17:16:58 -0500 (EST) From: Peter Dufault <dufault@hda.com> To: jb@cimlogic.com.au (John Birrell) Cc: cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/include sched.h Makefile Message-ID: <199803082216.RAA16193@hda.hda.com> In-Reply-To: <199803082200.JAA14244@cimlogic.com.au> from John Birrell at "Mar 9, 98 09:00:03 am"
next in thread | previous in thread | raw e-mail | index | archive | help
> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199803082216.RAA16193>