On 21 February 2010 16:49, Jack Fang <jack.fang1...@gmail.com> wrote:
> So I can guess that, If you use deref, there can be multipule
> transcation running at once. But sometimes transcation must be rerun.
> If you use ensure, only one transcation is run. Others are blocked.
> Is it true?

Those which try to modify the ref are blocked. Those which only read
it proceed as usual.

> Thanks for all your help!

Sure thing!

Sincerely,
Michał

-- 
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

Reply via email to