[cfe-dev] __thread support in Clang
Chris Lattner
clattner at apple.com
Tue Mar 1 23:31:11 PST 2011
On Mar 1, 2011, at 11:24 PM, Jeffrey Yasskin wrote:
>>
>> Yes, it uses an emulated tls that ends up being calls out to pthread
>> and semaphore functions. I don't believe there's any plans to implement
>> this sort of thing in clang - at the least I don't plan to :)
>
> Presumably someone plans to implement C++0x's thread_local storage duration?
Implementing thread_local would be great if you're interested, please have it generate the same IR as __thread.
-Chris
More information about the cfe-dev
mailing list