Subj : Re: Can C++ local static objects be made thread safe? To : comp.programming.threads From : David Hopwood Date : Wed Jan 19 2005 10:11 pm Alexander Terekhov wrote: > 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. Not doing so makes C++ static locals (with nontrivial constructors) effectively unusable in MT programs. -- David Hopwood .