Using BSD queue.h for linked lists
Will Fiveash
will.fiveash at oracle.com
Fri May 25 16:15:01 EDT 2012
On Fri, May 25, 2012 at 12:19:39PM -0400, Greg Hudson wrote:
> If we were to go in this direction, we'd probably make a copy of the
> latest NetBSD version of the header in include/k5-queue.h, and
> recommend that it be used for even simple lists. For illustration,
> here are some fragments showing how it could be used in the lookaside
> cache:
Sounds good to me in regards to making it easier to achieve correct list
manipulation however doesn't this make dbx/gdb source level debugging
harder? Regardless, I think the former point outweighs the latter.
--
Will Fiveash
Oracle Solaris Software Engineer
http://opensolaris.org/os/project/kerberos/
Sent using mutt, a sweet, text based e-mail app <http://www.mutt.org/>
More information about the krbdev
mailing list