[erlang-questions] link

Rapsey <>
Tue Apr 13 07:50:09 CEST 2010


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