[erlang-questions] propagation of exit signals among linked processes
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.
> Gleb Peregud
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions