Re:Rich Hickey: STMs vs Locks [2008]
by technomancy on Wednesday November 30, 2011 @12:53PM
(#3295951)
> 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.
FWIW, this was implemented in Clojure soon after this conversation; see atoms.