Subj : Re: std::msync To : comp.programming.threads From : Alexander Terekhov Date : Mon Apr 11 2005 04:01 pm Peter Dimov wrote: [...] > The _Interlocked* family does have _acq/_rel variants (but I'm not sure > whether they are available on all versions of the Intel compiler), I'm not sure how does that help given that they don't provide value dependent msync. Or do you mean "manually" coded "strong" decrement using InterlockedCompareExchange/Acquire|Release/? If so, sorta yes, but you know that I just hate volatiles... and it isn't clear at all whether (some new) MS compiler*** will inject unnecessary barriers (due to volatile accesses) or not. regards, alexander. ***) http://google.de/groups?selm=42079cea%241%40news.microsoft.com .