[cfe-dev] __thread support in Clang
Anton Korobeynikov
anton at korobeynikov.info
Tue Mar 1 22:36:14 PST 2011
Hello
> My question is: what is the status of this feature? Are you going to
> implement it any time soon? If not - what is the best alternative of
> TLS on macosx/clang?
>
> This issue a little bit confusing as the LLVM2.0 release note [1]
> states that "A number of ELF features are now supported by LLVM,
> including ... Thread Local Storage (TLS) with the __thread keyword"
The problem is that MacOS X does not support thread local storage stuff at all.
Regardless of compiler used. You'll have same error message with gcc, etc.
--
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
More information about the cfe-dev
mailing list