Closed
Description
On -msvc
TLS destructors do not appear to be run at all.
On -gnu
TLS destructors appear to run when a non-main thread exits (as expected) or std::process:exit
is called (es expected), but not run when main thread is terminated normally (by returning from fn main
; not expected).
Various variations of this/this program has been used for testing.
cc @retep998 who did the testing