News for hackers. Stuff that matters.
Re:Friendship ended with the garbage collector by rwmj on Friday August 27, 2021 @06:50AM (#28326209)
> The counter itself can have its count updated atomically with a compare & exchange.

At some point you have to consider how that hardware implements atomic variables and cmpxchg, because it is certainly not free.

There are no comments on this comment yet.