[cfe-dev] status of 'thread_local'
James Gregurich
bayoubengal at me.com
Tue Oct 16 13:40:15 PDT 2012
Is it C-only? I ran a test with C++ and it didn't work. Does it work with C++ and I need to supply some flag to compiler to enable it? I'll poke around with google and see what info I can dig up.
On Oct 16, 2012, at 1:34 PM, Jean-Daniel Dupas <devlists at shadowlab.org> wrote:
>
> Le 16 oct. 2012 à 21:04, James Gregurich <bayoubengal at me.com> a écrit :
>
>> howdy!
>>
>> What is the status of 'thread_local' support in clang? is that something that will be delivered in the next few months? later? never will be delivered? has been delivered, but the website not updated?
>>
>
> AFAIK, thread locals are supported in C using the __thread keyword on platform that support it for some times (OS X 10.7 for Mach-O, ELF platforms, …).
>
>
> -- Jean-Daniel
>
>
>
>
>
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
More information about the cfe-dev
mailing list