static ctors in shared libs
Marc Schütz via Digitalmars-d
digitalmars-d at puremagic.com
Fri Mar 18 07:35:41 PDT 2016
On Thursday, 17 March 2016 at 20:54:57 UTC, Johannes Pfau wrote:
> It's been some time since I looked at that code, but IIRC TLS
> ctors for newly loaded libraries are not run in old threads.
> There's nothing we can do about this without help from the C
> runtime.
Hmm... are all module _destructors_ called when those threads
exit? That would mean that some destructors may be called without
the corresponding constructors having run...
More information about the Digitalmars-d
mailing list