January 04, 2010 [phobos] TLS static constructors and destructors | ||||
---|---|---|---|---|
| ||||
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. |
January 04, 2010 [phobos] TLS static constructors and destructors | ||||
---|---|---|---|---|
| ||||
Posted in reply to Walter Bright | 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
|
Copyright © 1999-2021 by the D Language Foundation