Re: Improved <linux/lists.h>

From: Andreas Gruenbacher (a.gruenbacher@bestbits.at)
Date: Tue Feb 22 2000 - 13:02:34 EST


Borislav Deianov wrote:
>
> In article <38B242EB.CF20FB40@bestbits.at> you wrote:
> > I've had some trouble using the queues defined in <linux/lists.h>.
>
> AFAIK, linux/list.h is the recommended linked list implementation,
> consider using that instead.

This one also doesn't really solve the offset problem. In the version that I've
proposed, there's no overhead if the offsets are equal, and it works if the
offsets differ.

Of course, rewriting <linux/lists.h> to use inline functions would result in
better error messages :-)

Regards,
Andreas

------------------------------------------------------------------------
 Andreas Gruenbacher, a.gruenbacher@computer.org
 Contact information: http://www.bestbits.at/~agruenba

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:31 EST