News for hackers. Stuff that matters.
Re:Discipline Doesn’t Scale by Animats on Wednesday October 21, 2020 @03:09PM (#24851003)
compare-and-swap

Compare and swap is interesting. It's a tiny transaction. It can even operate across networks - FireWire had hardware compare and swap support. Compare and swap with retry may have to wait and retry, which is effectively waiting for someone else to stop using a resource you want. So it's a form of a critical section lock.

There are no comments on this comment yet.