Subj : Re: sync vs. eieio on powerpc To : comp.programming.threads From : Joe Seigh Date : Tue Mar 01 2005 10:04 am On Tue, 01 Mar 2005 15:15:00 +0100, Alexander Terekhov wrote: > > Joe Seigh wrote: >> >> isync is not a store/store when used with store conditional, e.g. >> if one thread does >> >> stwcx >> isync >> stw > > In order to have msync effect, isync needs preceding conditional > branch. In the case of lock acquisition, that conditional branch is > related to store, not load. So it IS store/* thing. Right. Given specific logic, isync is effectively a store/* barrier. By itself, stwcx isn't sufficient. -- Joe Seigh .