Re: [PATCH] libdw: add thread-safety to dwarf_getabbrev()

2019-08-25 Thread Jonathon Anderson
Hello Mark, Next iteration of the patch(es) are ready, hosted on Github (git request-pull output below). I think most of the issues we've discussed have been addressed; the setup with stdatomic.h is a little WIP, I wasn't certain how it should be done moving forward (and, I'm not all that fam

Re: [PATCH] libdw: add thread-safety to dwarf_getabbrev()

2019-08-25 Thread Mark Wielaard
Hi Jonathon, On Sat, 2019-08-24 at 20:10 -0500, Jonathon Anderson wrote: > On Sat, Aug 24, 2019 at 6:24 PM, Mark Wielaard wrote: > > But what if realloc moves the block? > > Then all dbg->mem_tails[thread_id] pointers become invalid. > > And this function drops the lock before returning a libdw_m