Hacker News new | ask | show | jobs
by charleslmunger 148 days ago
What hardware are you running on where the cost of a relaxed 64 bit load and a branch is significant compared to a (possibly contended) cas?

You could always use ldset on arm for this.