Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
bcoates
· 14y ago · 0 comments
That shouldn't be any harder than updating one pointer atomically, modern x64s have two-pointer sized atomic exchange operations.
Comments
[–]
tintor
14y ago
Modern 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.