Hi,

On Mon, Jun 15, 2026 at 07:58:55PM -0400, Aaron Merey wrote:
> Currently there is no API for applications to detect whether elfutils
> libraries are built with thread safety support enabled (via the
> --enable-thread-safety configure option).
> 
> Add macro _ELFUTILS_THREAD_SAFE to version.h.  This macro is set to 1
> if thread safety support is enabled.  If thread safety support is not
> enabled then this macro is left undefined.
> 
> Signed-off-by: Aaron Merey <[email protected]>
> ---
> 
> v2:
> Leave _ELFUTILS_THREAD_SAFE undefined if thread safety support is
> not enabled. 
> 
> Add a NEWS entry.

I really like this version.
Also the implementation is much simpler that I imagined.

Thanks,

Mark

Reply via email to