Sharing in D

Jarrett Billingsley kb3ctd2 at yahoo.com
Fri Aug 1 15:11:58 PDT 2008


"downs" <default_357-line at yahoo.de> wrote in message 
news:g6ufic$1hj4$2 at digitalmars.com...
> 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

You do realize (1) you're advertising to one of the main Tango devs, and (2) 
Tango already has thread-local storage. 





More information about the Digitalmars-d mailing list