4 ms·
That shouldn't be any harder than updating one pointer atomically, modern x64s have two-pointer sized atomic exchange operations.
by bcoates 14y ago
That shouldn't be any harder than updating one pointer atomically, modern x64s have two-pointer sized atomic exchange operations.
- tintor 14y agoModern x64s have 128-bit CAS instruction, but the problem is that those two pointers can be far apart in memory, in two different elements of the list.