Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Nov 2002 17:06:35 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Kirk McKusick <mckusick@McKusick.COM>, arch@FreeBSD.ORG
Subject:   Re: Shared-memory version of <sys/queue.h> macros
Message-ID:  <p05200f0db9f5d85c6d3e@[128.113.24.47]>
In-Reply-To: <200211101732.gAAHWZ59035339@beastie.mckusick.com>
References:  <200211101732.gAAHWZ59035339@beastie.mckusick.com>

next in thread | previous in thread | raw e-mail | index | archive | help
At 9:32 AM -0800 11/10/02, Kirk McKusick wrote:
>Since these are not needed by the kernel, I propose to create a
>new file /usr/include/queue.h which will contain the new shared
>memory version of the queue macros and also include <sys/queue.h>
>to pull in the existing set of queue macros. The include of
><sys/queue.h> is to avoid duplication and possible divergence
>of the original macro set.

Hmm.  So, as a question of include-file naming, does "sys/" imply
that it's tied to the system kernel in some sense?  I mean, why
would this imply "queue.h", while the earlier macros imply
"sys/queue.h"?

(I'm just wondering.  Certainly the changes seem fine to me.  But
if I'm using the older macros in some userland program, should I
reference <queue.h> or <sys/queue.h>? )

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?p05200f0db9f5d85c6d3e>