From owner-freebsd-hackers Sat Sep 20 23:31:36 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id XAA16412 for hackers-outgoing; Sat, 20 Sep 1997 23:31:36 -0700 (PDT) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id XAA16407 for ; Sat, 20 Sep 1997 23:31:34 -0700 (PDT) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id XAA28049 for ; Sat, 20 Sep 1997 23:18:23 -0700 (PDT) Received: from current1.whistle.com(207.76.205.22) via SMTP by alpo.whistle.com, id smtpd028044; Sun Sep 21 06:18:19 1997 Date: Sat, 20 Sep 1997 23:28:51 -0700 (PDT) From: Julian Elischer To: hackers@freebsd.org Subject: addition to queue.h? Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have a queue-type that I would personally like to see in queue.h basically a headless circle queue. the point is that if you have several cases of a structure which are siblings in some respect. I get a pointer to one of them, and wish to examine the rest of them. If I just go around the circle till I get back to my original entry, then I can do what I want, but in the current CIRCLEQ macro set, I also need to have a place where I 'ground' the queue with a CIRCLEQ_HEAD entry. As I showed before, this may not be what I want. Possibly just the addition of a few simple macro's might extend the CIRCLEQ type to cover this case, with more ease.. any suggestions? julian