Is there possible in clojure to make a deadlock (or anything bad case) using agents?

Posted by hsestupin on Stack Overflow See other posts from Stack Overflow or by hsestupin
Published on 2011-11-26T09:47:12Z Indexed on 2011/11/26 9:52 UTC
Read the original article Hit count: 170

Filed under:
|

CLojure agents is powerful tool. So actions to the agents are asynchronously sent using functions "send" and "send-off". And in theory there couldn't appear something like deadlock.

Is there possible to write some clojure code (for example invoking from some action another action to another agent) using agents in which we have some concurrency problem - it could be deadlock, race condition or anything else.

(guys, i'm very sorry for my english)

© Stack Overflow or respective owner

Related posts about concurrency

Related posts about clojure