[llvm-commits] Reworked SwitchInst prototype with case-ranges.

Chandler Carruth chandlerc at google.com
Fri Sep 7 01:22:00 PDT 2012


On Fri, Sep 7, 2012 at 4:04 AM, Nick Lewycky <nicholas at mxc.ca> wrote:

> Nuno Lopes wrote:
>
>> - Please don't use function static variables. It's not good for thread
>> safety.
>>
>
> Excuse me? On what platform are function local statics not thread safe?
> I've been known to advocate using function local statics as the solution to
> threading problems.


I think at least the N+1 version of MSVC doesn't support it, and the N
version may not either. All interesting versions of GCC and Clang do.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20120907/0f4e1e42/attachment.html>


More information about the llvm-commits mailing list