[erlang-questions] link

John Erickson jderick@REDACTED
Wed Apr 14 19:17:48 CEST 2010


Hello, in this case I don't think there is any normal termination at all,
just a network delay that causes the other nodes to think this node is down.
 Is there any way for the other nodes to die in this case?

On Mon, Apr 12, 2010 at 10:50 PM, Rapsey <rapsey@REDACTED> wrote:

> If a process dies with exit signal normal (like if the process function
> stops recursion) the linked processes will not die. If there is any other
> exit signal, linked processes will die as well. You can call exit(stop) or
> something when you want to kill all processes as well.
>
>
> Sergej
>
> On Tue, Apr 13, 2010 at 12:10 AM, John Erickson <jderick@REDACTED> wrote:
>
> > Hello, I have created a bunch of processes and called link() on them from
> a
> > root process.  I thought this would mean that when one of them died, they
> > would all die.  However, I see in my log file one of the processes is
> 'not
> > responding' but the others run along oblivious.  Is there a way to have
> > them
> > all die when this happens?
> >
>


More information about the erlang-questions mailing list