Hi,

Can I assume that messages sent to an agent inside a locked area will
keep their order ( the locking order)? Or is it still possible for
them to be reordered like in general case when you send the messages
from different threads?

The following code will be run from different threads:

(locking mylock
  (let [
     somedata (somefunc)
  ]
  (send myagent myhandler somedata)
)

Regards, Sergey.

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