Sharing in D
downs
default_357-line at yahoo.de
Fri Aug 1 00:59:37 PDT 2008
Sean Kelly wrote:
> == Quote from Walter Bright (newshound1 at digitalmars.com)'s article
>> Sean Kelly wrote:
>>> Sounds like the addition of a thread-local storage class (which
>>> I've been asking for since I discovered D),
>> It's actually implemented in D 2.0 as the __thread storage class,
>> however it's for testing purposes only.
>
> Yeah, I saw that. If only it were in D 1.0 :-)
1.0 has tools.threads' TLS!(), so you can use that :) It works under win32 and posix.
</tools_ad>
--downs
More information about the Digitalmars-d
mailing list