[cxx-abi-dev] Adding __cxa_thread_atexit() to the C++ ABI?

Jason Merrill jason at redhat.com
Wed May 7 18:41:05 UTC 2014


On 05/07/2014 01:15 PM, Matthew Dempsky wrote:
> +Additionally, the registration increments the reference count for DSO
> <code>d</code>.

> +After <code>f(p)</code> returns, the reference count for DSO
> <code>d</code> is decremented.

This seems overly specific to the glibc implementation; I would say 
something more generic, perhaps just that the effect of dlclose with 
pending cleanups is undefined.

Jason



More information about the cxx-abi-dev mailing list