do I understand correctly that linklist_readonly() disables all the thread-locking mechanisms for a given linked list?
btw, linklist_readonly doesn't link... what I'm doing is to directly set the readonly field to 1 - or is there more to know about that?
2 - though this is one I shouldn't ask ;)
I need to chain together two linked lists. I am sure about their threading context, so I can turn off thread-safety for them.
The most obvious thing to do would be chaining them "manually", by appropriately setting heads, tails, prevs and nexts, and finally setting the OBJ_FLAGS_DATA flag to the second list and deleting it.
So here's the point:
how "forbidden" is to go mess with the actual fields of t_linklist and t_llelem? how likely are these basic things to change in the (near) future? it looks a bit overkill to append one by one all the elements of the second list to the first one, but I didn't find an API function able to do what I need...