Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Jul 2002 09:28:11 -0400 (EDT)
From:      Daniel Eischen <eischen@pcnet1.pcnet.com>
To:        Julian Elischer <julian@elischer.org>
Cc:        Neal Fachan <neal@isilon.com>, 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:  <Pine.GSO.4.10.10207040925280.20176-100000@pcnet1.pcnet.com>
In-Reply-To: <Pine.BSF.4.21.0207031603400.3993-100000@InterJet.elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 3 Jul 2002, 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..

Instead of potentially changing the existing *_FOREACH behaviour,
why not just add *_FOREACH_CHECKED or *_FOREACH_PEDANTIC that
adds the desired behaviour.  Or *_FOREACH_DEBUG...

-- 
Dan



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?Pine.GSO.4.10.10207040925280.20176-100000>