From owner-freebsd-hackers@FreeBSD.ORG Wed May 1 05:59:51 2013 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 582A551E for ; Wed, 1 May 2013 05:59:51 +0000 (UTC) (envelope-from lstewart@freebsd.org) Received: from lauren.room52.net (lauren.room52.net [210.50.193.198]) by mx1.freebsd.org (Postfix) with ESMTP id 206E41C4A for ; Wed, 1 May 2013 05:59:50 +0000 (UTC) Received: from lstewart.caia.swin.edu.au (lstewart.caia.swin.edu.au [136.186.229.95]) by lauren.room52.net (Postfix) with ESMTPSA id 451997E81E; Wed, 1 May 2013 15:59:49 +1000 (EST) Message-ID: <5180AF55.5070000@freebsd.org> Date: Wed, 01 May 2013 15:59:49 +1000 From: Lawrence Stewart User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130314 Thunderbird/17.0.4 MIME-Version: 1.0 To: Poul-Henning Kamp Subject: Re: Adding a FOREACH_CONTINUE() variant to queue(3) References: <518092BF.9070105@freebsd.org> <74840.1367386143@critter.freebsd.dk> In-Reply-To: <74840.1367386143@critter.freebsd.dk> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=0.0 required=5.0 tests=UNPARSEABLE_RELAY autolearn=unavailable version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lauren.room52.net Cc: freebsd-hackers@freebsd.org X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 May 2013 05:59:51 -0000 On 05/01/13 15:29, Poul-Henning Kamp wrote: > In message <518092BF.9070105@freebsd.org>, Lawrence Stewart writes: >> [reposting from freebsd-arch@ - was probably the wrong list] > >> #define TAILQ_FOREACH_CONTINUE(var, head, field) \ > > Obligatory bikeshedding: > > I find the suffix "_CONTINUE" non-obvious, as there may not have > been any previos FOREACH involved. > > TAILQ_FOREACH_FROM(...) ? Agreed. Thanks for the input.