Subj : Re: Can C++ local static objects be made thread safe? To : comp.programming.threads From : Alexander Terekhov Date : Tue Jan 18 2005 10:35 am Gianni Mariani wrote: [...] > GCC 4.0 will have it's bug fixed in this area. Other compilers seem to > have bugs. It's not a bug. Synchronizing all static locals by default (in "MT mode") is just silly. Some standard STDC #pragma is perhaps the best way to go. regards, alexander. .