------- Additional Comments From davids at webmaster dot com 2005-02-20 02:46 ------- In your example:
class A { A(); int t; }; void f() { static A a; } I don't get it. What's the problem with this? Obviously, if you plan to call 'f()' from multiple threads, you must do it while holding a mutex because it might modify 'a'. This is just like any other function that modifies (or might modify) data. -- What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |UNCONFIRMED Resolution|INVALID | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20099