Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jul 2002 12:54:06 -0400 (EDT)
From:      Garrett Wollman <wollman@lcs.mit.edu>
To:        Jonathan Lemon <jlemon@flugsvamp.com>
Cc:        current@FreeBSD.ORG
Subject:   additional queue macro
Message-ID:  <200207021654.g62Gs67R090813@khavrinen.lcs.mit.edu>
In-Reply-To: <20020702095402.D1020@prism.flugsvamp.com>
References:  <20020702095402.D1020@prism.flugsvamp.com>

index | next in thread | previous in thread | raw e-mail

<<On Tue, 2 Jul 2002 09:54:02 -0500, Jonathan Lemon <jlemon@flugsvamp.com> said:

> Essentially, this provides a traversal of the tailq that is safe 
> from element removal, while being simple to drop in to those sections
> of the code that need updating, as evidenced in the patch below.

The queue macros always guaranteed that traversal was safe in the
presence of deletions.  Julian's change is erroneous and should be
reverted for compatibility with the other implementations of queue(3).

-GAWollman


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207021654.g62Gs67R090813>