From owner-freebsd-current Wed Jul 3 17:15:40 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2B08A37B400 for ; Wed, 3 Jul 2002 17:15:38 -0700 (PDT) Received: from isilon.com (isilon.com [65.101.129.58]) by mx1.FreeBSD.org (Postfix) with SMTP id BE12543E54 for ; Wed, 3 Jul 2002 17:15:16 -0700 (PDT) (envelope-from neal@isilon.com) Received: (qmail 96296 invoked by uid 1001); 4 Jul 2002 00:12:33 -0000 Date: Wed, 3 Jul 2002 17:12:33 -0700 From: Neal Fachan To: Julian Elischer Cc: Terry Lambert , Garrett Wollman , Jonathan Lemon , current@FreeBSD.ORG Subject: Re: additional queue macro Message-ID: <20020703171233.G95118@isilon.com> References: <20020703134624.B95118@isilon.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from julian@elischer.org on Wed, Jul 03, 2002 at 04:04:53PM -0700 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG I agree that it's unfortunately named. The idea was that it's safe to remove from within the iterator, not that the iterator is doing the removing... On Wed, Jul 03, 2002 at 04:04:53PM -0700, Julian Elischer wrote: > > > On Wed, 3 Jul 2002, Neal Fachan wrote: > > > We've got local changes (which I've attached) where the name is > > *_FOREACH_REMOVE. We didn't add reverse removable iterators. Also, the > > temp variable is the second argument. I can't think of a way of doing it > > without having the externally declare the temporary variable. > > > A I like it and you've even done thge man page.. > > *_FOREACH_REMOVE however suggests that it is going to try remove > something.. > > -- Neal Fachan neal@isilon.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message