Subj : Re: Memory visibility and MS Interlocked instructions To : comp.programming.threads From : David Schwartz Date : Thu Aug 25 2005 12:13 pm "Alexander Terekhov" wrote in message news:430E03C7.DFB3ED6C@web.de... > Scott Meyers wrote: > [...] >> But this would require that MS insert membars on all volatile accesses, >> because there is, in general, no way to know whether another part of the >> program uses an interlocked instruction. Do MS and MS-compatible >> compilers >> really do that? > Nobody really knows what they do. And nobody knows how much of what they do is defined behavior that we can rely on or just "it happens to work on today's machines" behavior. DS .