[PATCH] libdw: add thread-safety to dwarf_getabbrev()
Sat Oct 26 10:54:00 GMT 2019
* Jonathon Anderson:
> Just finished some modifications to the patch series, git request-pull
> output below. This rebases onto the latest master and does a little
> diff cleaning, the major change is that I swapped out the memory
> management to use the pthread_key_* alternative mentioned before.
This use of pthread_key_* is rather unusual. In particular, there are
only 1024 keys supported for the entire process, so it limits the
number of Dwarf * objects that can be created by one process, even if
it does not use any threads.
More information about the Elfutils-devel