Subj : Re: Memory visibility and MS Interlocked instructions To : comp.programming.threads From : Marcin 'Qrczak' Kowalczyk Date : Thu Aug 25 2005 11:01 pm "David Schwartz" writes: >> 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? > > On x86, it's not needed. I'm not sure about other platforms. I guess MS doesn't care about other platforms. -- __("< Marcin Kowalczyk \__/ qrczak@knm.org.pl ^^ http://qrnik.knm.org.pl/~qrczak/ .