dlclose not calling destructors of static variables.

Dave Korn dave.korn.cygwin@googlemail.com
Tue Feb 2 16:00:00 GMT 2010


On 02/02/2010 15:16, Christopher Faylor wrote:

> I've gotten rid of remove_dll_atexit and implemented Dave's other idea of
> specifically calling cxa_atexit when atexit is called from a DLL.  I realize
> this morning that this might require some additional tweaking to preserve
> the same order of calling but that's easily done.

  I'm just wondering whether to try and make the __dso_handle match the
ImageBase or not.  Right now it's just a symbol in the dll's .data section.

    cheers,
      DaveK




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list