Hello, 2009/4/2 Korny Sietsma <ko...@sietsma.com>
> > If I understand correctly, two threads calling do_something_to with > different keys won't collide, as they read @world but don't change it. I'll > get a collision if one thread changes @world and another changes an > individual structure - but I guess that's necessary, as the change might > have deleted the record with the key needed by the other thread. I'm far from a specialist of these aspects of clojure, but I'm not sure you're right when you say you will get a collision. I think you will not have a collision, unless you call (ensure) on the world ? --~--~---------~--~----~------------~-------~--~----~ 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 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 -~----------~----~----~----~------~----~------~--~---