Hacker News new | past | comments | ask | show | jobs | submit login

That shouldn't be any harder than updating one pointer atomically, modern x64s have two-pointer sized atomic exchange operations.



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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: