Date: Mon, 9 Mar 1998 09:00:03 +1100 (EST) From: John Birrell <jb@cimlogic.com.au> To: dufault@hda.com (Peter Dufault) Cc: jb@cimlogic.com.au, cvs-committers@FreeBSD.ORG Subject: Re: cvs commit: src/include sched.h Makefile Message-ID: <199803082200.JAA14244@cimlogic.com.au> In-Reply-To: <199803082144.QAA16102@hda.hda.com> from Peter Dufault at "Mar 8, 98 04:44:40 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
Peter Dufault wrote: > The intent of ifdef KERNEL is to hide ISO standardized POSIX function > interfaces from the kernel to avoid conflicts - protection against > a stupid thing that you haven't accused me of but which is my critique > of putting it there. I thought I'd leave that to Bruce. He's a stickler for everything in it's right place. 8-) > Let's leave it and the associated implementation macros > that way for a while and agree we'll change it later - I'll > finish up setting it up so you can set _POSIX_VERSION to 199309L > and lkm in the pieces I have while I order the latest spec and > look it over. Anyone else who has to work with that right now > won't care either. Then we can move that subdirectory to a > more sensible place. Umm, I think _POSIX_VERSION is intended to indicate that greatest level of POSIX functionality that is available from the system. 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. -- John Birrell - jb@cimlogic.com.au; jb@freebsd.org CIMlogic Pty Ltd, GPO Box 117A, Melbourne Vic 3001, Australia +61 418 353 137 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?199803082200.JAA14244>