[erlang-questions] questions about supervisor behavior
Mon Dec 27 16:50:13 CET 2010
Dnia 27-12-2010 o 16:42:03 Seven Du <> napisał(a):
> Hi all,
> I have problems on get the supervisor working.
> I want to start a supvisor with 3 children, and then dynamically add
> children. Everything works fine except that when a child crashes, the
> supervisor doesn't know and then cannot restart automatically. What
> I'm doing wrong?
> Code in the following link.
You don't link children with the supervisor. Use gen_server:start_link.
More information about the erlang-questions