« Return to Thread: Using BSD queue.h for linked lists

Re: Using BSD queue.h for linked lists

by Will Fiveash-2 :: Rate this Message:

| View in Thread

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/>
_______________________________________________
krbdev mailing list             krbdev@...
https://mailman.mit.edu/mailman/listinfo/krbdev

 « Return to Thread: Using BSD queue.h for linked lists