When you add a watch to a ref (as opposed to an agent), when is it called?
After transaction commit, I assume, but can someone confirm that.  The docs
for add-agent mention that the watch function might be called from various
threads.  If used from a dosync, can it be called from a different thread
from the one which executed the transaction?

Thanks in advance.

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

Reply via email to