Supervisor shutdown

Vlad Dumitrescu <>
Tue Nov 25 13:03:11 CET 2003


From: "Gunilla Arendt" <>
> No, the supervisor *is* required to call start_link!

I don't mean to argue with the OTP team :-) but the supervisor docs say, when
describing children specifications:

|StartFunc defines the function call used to start the child process. It should
be a
|module-function-arguments tuple {M,F,A} used as apply(M,F,A).
|
|The start function must create and link to the child process, and should return
|{ok,Child} or {ok,Child,Info} where Child is the pid of the child process and
Info an
|arbitrary term which is ignored by the supervisor.


Vlad



More information about the erlang-questions mailing list