On Monday, 15 September 2014 at 23:41:27 UTC, Rainer Schuetze wrote:Thanks for the link, I didn't know a solution exists. I'll have to study the "differential" approach to see if it works for our case and at what cost it comes...Modern x86 has 128 bit CAS instruction too: lock cmpxchg16b
... which I really need to add to core.atomic.