Subj : Re: Can C++ local static objects be made thread safe? To : comp.programming.threads From : David Schwartz Date : Tue Feb 22 2005 06:30 pm "Giancarlo Niccolai" wrote in message news:95e4efda.0502191504.315f1f3@posting.google.com... > I CANNOT BELIVE IT. GCC 4.0 is going to lock initializers on THIS C++ > ABI CLOSURE: > > http://www.codesourcery.com/cxx-abi/cxx-closed.html#G4 Nothing in the C++ ABI closure prohibits the implementation from omitting the locks if '-pthreads' is specified during compilation. Other threading standards, of course, can have their own rules. DS .