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
Ola Fosheim Grostad via Digitalmars-d Mon, 15 Sep 2014 21:21:07 -0700
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