What is the difference between Clojure STM (dosync) approach and Java synchronize Block?
I\'m reading the code below from \"The sleeping barber\" problem. (http://www.b
Just to give a full picture for those seeking, Clojure does have a synchronized analog. It is useful when one has to work with Java non-threadsafe types for interop.
synchronized
(locking x & body)