[erlang-questions] propagation of exit signals among linked processes

Edmund Sumbar esumbar@REDACTED
Mon Jul 22 17:04:09 CEST 2013

Very embarrassing. Your comments were very helpful. Thank you.

On Mon, Jul 22, 2013 at 12:36 AM, Gleb Peregud <gleber.p@REDACTED> wrote:

> When you run child:calc/1 it sends a message to the child, and immediately
> after that shell process executes second line of child:calc/1, which is
> message receive. Shell hangs, since it waits for a message which never
> arrives. If you are doing a request to a process which might crash before
> responding , monitor that process temporarily starting before sending the
> message and demonitoring after response is received - in case child dies
> you will get 'DOWN' message.
> HTH,
> Gleb Peregud
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130722/8e1db848/attachment.htm>

More information about the erlang-questions mailing list