This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: dlclose not calling destructors of static variables.
On 29/01/2010 15:28, Andrew West wrote:
> Ah o.k. So is there any documentation on how Cygwin should do things
> differently?
Only the source so far, but I'll add some when I fix this.
> Should atexit be used for both executables and library
> static destructors? Is there a reason for not using __cxa_atexit?
The user should use the cd-tor attributes, as you have done, and the tool
chain should make it "just work", which (without having double-checked yet
today) will probably involve a bit of new code in the cygwin dll.
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