Follow-up question: how do I test that I am collision-proof? Perhaps:
1. Kick off two threads (call them 1st and 2nd) 100ms apart 2. Have them update the same ref 3. Have 1st do the initial reset! to the ref then sleep for 200ms 4. 2nd just charges ahead 5. Check that each took full and complete effect, with 2nd appearing before 1st (do I have that right? Collisions are detected when a dosync finishes and attempts to write to the refs?) How'm I doin? Thx, hk -- 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.