dosync is a way of ensuring whole stateful operation is done atomically. (ie as if everything was happening in one step.)
That contradicts b). During a whole dosync, you can only see one state of the world. If you do not need atomicity, do multiple dosync. You should create another abstraction for the retry part of the problem. (retry is an artifact of the non-blocking atomicity. If it fails, we need to restart) Interesting read if you do not know it already: http://clojure.org/state Best, Nicolas. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en