From owner-freebsd-current Fri Apr 11 06:40:39 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id GAA19144 for current-outgoing; Fri, 11 Apr 1997 06:40:39 -0700 (PDT) Received: from pluto.plutotech.com (root@pluto100.plutotech.com [206.168.67.137]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA19138 for ; Fri, 11 Apr 1997 06:40:36 -0700 (PDT) Received: from narnia.plutotech.com (narnia.plutotech.com [206.168.67.130]) by pluto.plutotech.com (8.8.5/8.8.3) with ESMTP id HAA07157; Fri, 11 Apr 1997 07:38:41 -0600 (MDT) Message-Id: <199704111338.HAA07157@pluto.plutotech.com> X-Mailer: exmh version 2.0beta 12/23/96 To: Garrett Wollman cc: Terry Lambert , current@freebsd.org Subject: Re: WHY? ...non-use of TAILQ macros... In-reply-to: Your message of "Thu, 10 Apr 1997 20:21:58 EDT." <199704110021.UAA05660@khavrinen.lcs.mit.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 11 Apr 1997 07:37:02 -0600 From: "Justin T. Gibbs" Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >< >said: > >> I'm wondering why the following aren't written using the macros (macro >> versions are shown one line below): >> kern_lockf.c: while (ltmp = overlap->lf_blkhd >.tqh_first) { > >1. Because they are a FreeBSD (actually Justin Gibbs) invention. >Obviously, original Berkeley code will not use a macro that Berkeley >didn't have. Actually, Poul invented the macros to access the individual members. I did the SLIST and STAILQ stuff. >-GAWollman > >-- >Garrett A. Wollman | O Siem / We are all family / O Siem / We're all the sam >e >wollman@lcs.mit.edu | O Siem / The fires of freedom >Opinions not those of| Dance in the burning flame >MIT, LCS, CRS, or NSA| - Susan Aglukark and Chad Irschick > -- Justin T. Gibbs =========================================== FreeBSD: Turning PCs into workstations ===========================================