[phobos] TLS static constructors and destructors

Andrei Alexandrescu andrei at erdani.com
Mon Jan 4 05:10:05 PST 2010


Sounds like a good step. Thanks Walter.

Andrei

Walter Bright wrote:
> I've added support for them in druntime/src/object_.d. They are called 
> automatically for the main thread - starting a new thread will have to 
> call _moduleTlsCtor() and _moduleTlsDtor().
> 
> Compiler support to come later.
> _______________________________________________
> phobos mailing list
> phobos at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/phobos



More information about the phobos mailing list