<div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 7, 2012 at 4:04 AM, Nick Lewycky <span dir="ltr"><<a href="mailto:nicholas@mxc.ca" target="_blank" class="cremed">nicholas@mxc.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Nuno Lopes wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
- Please don't use function static variables. It's not good for thread<br>
safety.<br>
</blockquote>
<br></div>
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.</blockquote><div><br></div><div>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. </div>
</div></div>