tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Add a hack to deinstall pthread_atexit handlers at dso unload time



On Thu, Feb 09, 2017 at 11:28:02AM +0100, Joerg Sonnenberger wrote:
> This is quite fragile as it effectively means that the handler should
> only ever be a function the current DSO, since other modules may want to
> register the very same handler too.

Yes, but it gives just enough rope to deal with the issue at all and
is a very minimalistic change.

Currently there is no way to deal with this at all.

Could you elaborat how your suggested solution works?

Martin


Home | Main Index | Thread Index | Old Index