From owner-cvs-all Sun Mar 8 11:55:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id LAA01351 for cvs-all-outgoing; Sun, 8 Mar 1998 11:55:36 -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 LAA01340; Sun, 8 Mar 1998 11:55:25 -0800 (PST) (envelope-from dufault@hda.hda.com) Received: (from dufault@localhost) by hda.hda.com (8.8.5/8.8.5) id OAA15752; Sun, 8 Mar 1998 14:54:46 -0500 (EST) From: Peter Dufault Message-Id: <199803081954.OAA15752@hda.hda.com> Subject: Re: cvs commit: src/include sched.h Makefile In-Reply-To: <199803081933.GAA13364@cimlogic.com.au> from John Birrell at "Mar 9, 98 06:33:44 am" To: jb@cimlogic.com.au (John Birrell) Date: Sun, 8 Mar 1998 14:54:45 -0500 (EST) Cc: dufault@hda.com, jb@FreeBSD.ORG, 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 > > Uh, sorry I didn't notice this. My understanding of POSIX 1003.1-1996 > is that sched.h needs to end up in /usr/include. Half of what you have > in posix4/sched.h just belongs in /usr/include/sched.h because it > is for user-space user only. Then the #ifndef KERNEL would not be > required and /usr/include/sched.h can include the part that is shared > with the kernel. It is linked into /usr/include - it is in the subdirectory for keeping the source modular. #ifndef KERNEL is to let the kernel get at the structure definition in case implementation specific members (as allowed by the spec) are added so the structure def is in one place. Peter -- 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