On 10/01/2015 06:32 PM, Jonathan Wakely wrote: > I would suggest we don't try to reproduce the standard definition, but > just say the weak version can fail spuriously and the strong can't. > IMHO this isn't the place to educate people in the fine points of > low-level atomics. As it says, "when in doubt use the strong > variation". > > i.e. apply this in addition to my earlier suggestion.
"If you don't already know what a weak CAS is you probably should not even think of using it." :) Andrew.