在 2020-12-19 06:50, Jeremy Drake via Mingw-w64-public 写道:
Have there been any further ideas on this? I am concerned the current state of affairs, accessing freed memory during tls destruction of objects in the .exe module, could cause crashes in objects more complicated than simple logging test cases. The proposed "patch 3" dealt with this when statically linked with winpthreads, but Windows called winpthreads.dll's callbacks before those from the main .exe module.
My humble opinion is that `quick_exit()` or `_Exit()` is generally preferred for complex multi-threaded programs. A lot of people may disagree with me about this idea,; however this of course circumvents such problems.
-- Best regards, LH_Mouse
OpenPGP_signature
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
