Subj : Re: Memory visibility and MS Interlocked instructions To : comp.programming.threads From : Alexander Terekhov Date : Mon Aug 29 2005 10:43 pm Torsten Robitzki wrote: [...] > Because the cited mircosoft documentation showed some snipped of code > they claimed to work. Only one of the involved variables where volatile > qualified. It might be that microsoft compilers don't reorder _any_ > access around a volatile variable. Well, judging from http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclang/html/vclrf_ReadWriteBarrier.asp I gather that nobody really knows what they do. regards, alexander. .