Subj : Re: Can C++ local static objects be made thread safe? To : comp.programming.threads From : Gianni Mariani Date : Fri Jan 21 2005 09:20 am David Hopwood wrote: .... > > That's not obvious. Assuming preemptive multithreading, memory barriers > are still needed on a uniprocessor to limit compiler reordering. Wouldn't the volatile keyword indicate that to the compiler ? .