3 ms·
> I think if I were just doing a single pointer swap, I'd > probably build my own mini-transaction out of a loop and > atomic variable to hold (and swap) the
by technomancy 15y ago
> I think if I were just doing a single pointer swap, I'd
> probably build my own mini-transaction out of a loop and
> atomic variable to hold (and swap) the pointer.
FWIW, this was implemented in Clojure soon after this conversation; see atoms.