From owner-cvs-all Sun Mar 8 14:00:06 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA18434 for cvs-all-outgoing; Sun, 8 Mar 1998 14:00:06 -0800 (PST) (envelope-from owner-cvs-all@FreeBSD.ORG) Received: from cimlogic.com.au (cimlog.lnk.telstra.net [139.130.51.31]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id NAA18391 for ; Sun, 8 Mar 1998 13:59:56 -0800 (PST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.8.5/8.8.7) id JAA14244; Mon, 9 Mar 1998 09:00:03 +1100 (EST) (envelope-from jb) From: John Birrell Message-Id: <199803082200.JAA14244@cimlogic.com.au> Subject: Re: cvs commit: src/include sched.h Makefile In-Reply-To: <199803082144.QAA16102@hda.hda.com> from Peter Dufault at "Mar 8, 98 04:44:40 pm" To: dufault@hda.com (Peter Dufault) Date: Mon, 9 Mar 1998 09:00:03 +1100 (EST) Cc: jb@cimlogic.com.au, cvs-committers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL32 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk 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