What's the deal with __thread?
Sean Kelly
sean at invisibleduck.org
Wed Nov 14 12:06:41 PST 2012
On Nov 14, 2012, at 6:26 AM, Don Clugston <dac at nospam.com> wrote:
> IIRC it was used prior to 2.030. In the spec, it is in the keyword list, and it's also listed in the "Migrating to shared" article. That's all. There are a small number of uses of it in the DMD test suite.
>
> Is it still valid? Is it useful? Or has everyone forgotten that it still exists?
I think __thread was for explicit TLS before TLS became the default. I don't see a continued use for it.
More information about the Digitalmars-d
mailing list