On Thu, 29 Oct 2020, Liu Hao wrote: > As far as I can tell it is only required by the c++ standard that > thread_local objects are destroyed in the reverse order that they have > been constructed and prior to any static destructor, and with Jeremy's > patch it is guaranteed I think. The others may execute in arbitrary > order.
My patch did not change any ordering. With Martin's patches and my patch, thread_local destructors still run after static destructors (at least for the executable, at FreeLibrary the destructor order is correct for a DLL). _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
