En réponse à Axel Dörfler <axeld@xxxxxxxxxxxxxxxx>: > In any way, it would be nice to have something like this. Although I > think it could be nice to have them in plain C and put them into > modules ready for use by driver writers? > > Adios... > Axel. > For good old C list needs (kernel driver in my case), i use a collection located in a header "queue.h" : singly-linked lists, lists, simple queues, tail queues, and circular queues http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/open-beos/current/src/add-ons/kernel/drivers/audio/emuxki/queue.h?rev=1.1 The good thing is that it is already tested and working, and simple enough. Maybe there are better things to use though. Jerome