On Mon, May 17, 2010 at 3:04 AM, Peter Schuller
<peter.schul...@infidyne.com> wrote:
> Deadlock in a message passing system is still possible if you limit
> the mailbox size (unless some other means are used to prevent it). My
> understanding is that mailbox size is not limited in erlang, and that
> there is no other means to avoid deadlock, meaning that while you will
> not deadlock in the message passing system you can cause memory
> exhaustion.
>
> Disclaimer: While I've played with erlang I'm not really that into it,
> please correct me someone if I've misrepresented anything.

i don't expect it would be hard to write an Erlang program with 2
actors that would deadlock. as far as i know, people use timeouts on
message handling to sweep it under the carpet.

e.g. (just a quick google search turns this up)
http://mue.tideland.biz/avoiding-erlang-deadlocks

sincerely.

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