Hi, On Tue, 2026-05-26 at 13:36 +0200, Mark Wielaard wrote: > What guarantees do we give on the "read" (sub)handles after any "write" > operation? e.g when the code gets an Elf_Scn * from an Elf * and then > an Elf_Data * from the Elf_Scn, are the Elf_Scn * and Elf_Data still > valid after some "write" operation to the Elf *? Or are they > invalidated and cannot be used after a "write" operation?
I think this wasn't very clear. On irc we discussed what I really meant here. So I think the question could be more practically. What if I want to write an parallel eu-strip, can I write out separate Elf_Scns in parallel? Do I need to hold a lock per Elf, per Elf_Scn or not at all to call elf_newdata? Or if I want to parallelize eu-elfcompress, can I create a thread per Elf_Scn to call elf_compress on them? Cheers, Mark
