Hi, If we are going to have to prod all of the code using this list implementation to solve this problem anyway maybe it would make more sense to switch to a kernel-style list instead. There is already an implementation of this in src/util/list.h. I think this style of list only accesses the pointers through a single struct so there shouldn't be any aliasing issues. It should also end up using one fewer pointer to store the head sentinel. It would be nice to reduce the number of list implementations used in Mesa.
Regards, - Neil _______________________________________________ mesa-dev mailing list mesa-dev@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-dev