Messages in this thread | | | Date | Tue, 22 Feb 2000 19:02:34 +0100 | From | Andreas Gruenbacher <> | Subject | Re: Improved <linux/lists.h> |
| |
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/
| |