News for hackers. Stuff that matters.
Re:The x86 architecture is the weirdo (2004) by zozbot234 on Tuesday April 19, 2022 @04:29PM (#31088615)
AIUI, a cmpxchg loop is enough to implement read-modify-write of any atomically sized value. The ABA problem becomes relevant when trying to implement more complex lock-free data structures.

There are no comments on this comment yet.