Date: Wed, 3 Jul 2002 17:12:33 -0700 From: Neal Fachan <neal@isilon.com> To: Julian Elischer <julian@elischer.org> Cc: Terry Lambert <tlambert2@mindspring.com>, Garrett Wollman <wollman@lcs.mit.edu>, Jonathan Lemon <jlemon@flugsvamp.com>, current@FreeBSD.ORG Subject: Re: additional queue macro Message-ID: <20020703171233.G95118@isilon.com> In-Reply-To: <Pine.BSF.4.21.0207031603400.3993-100000@InterJet.elischer.org>; from julian@elischer.org on Wed, Jul 03, 2002 at 04:04:53PM -0700 References: <20020703134624.B95118@isilon.com> <Pine.BSF.4.21.0207031603400.3993-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020703171233.G95118>