Subj : Re: Memory Barriers, Compiler Optimizations, etc. To : comp.programming.threads From : Alexander Terekhov Date : Mon Feb 07 2005 02:44 pm Joseph Seigh wrote: [...] > Yes, but you didn't have any threads in your example. You need to come > up with more realistic examples. Threads and standard C/C++ volatiles are irrelevant concepts with respect to each other. Addition of threads doesn't change anything. regards, alexander. .