News for hackers. Stuff that matters.
Re:The best engineering interview question I've ever gotten by jhgb on Monday April 18, 2022 @12:32AM (#31067457)
Is ABA an issue here? "Replace A by X*A" should be perfectly fine if an atomic swap gives you A back, since it means it was actually A at the time when you perform the swap. That it was B a moment go doesn't seem to matter.

There are no comments on this comment yet.