Subj : Re: Can C++ local static objects be made thread safe? To : comp.programming.threads From : Gianni Mariani Date : Tue Jan 18 2005 08:46 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. I don't think so. Having heard the growlings of a colleague recently, I suspect there are at least 2 people that violently disagree with you. Do explain what you think is so silly. Some standard STDC #pragma is perhaps the best > way to go. I can't understand why you think you should do the "wrong thing" (TM) by default ? .