[erlang-questions] How to properly declare a special process in supervisor's child specification?

Dominic Williams <>
Wed Jan 21 10:35:17 CET 2009


Hi Sergey,

> [Module] or dynamic?
>
> erl -man supervisor doesnt' give the answer:

You will find in the "Child specifications" section of the "Design
Principles" chapter that dynamic should only be used when the child is a
gen_event. When the child is a supervisor, gen_server or gen_fsm, use
[Module].

Regards,

Dominic Williams
http://dominicwilliams.net

----




More information about the erlang-questions mailing list