Erlang/OTP Forums

Author Message

<  Erlang questions mailing list  ~  Supervisor shutdown

gunilla at erix.ericsson.
Posted: Tue Nov 25, 2003 1:22 pm Reply with quote
Guest
Let me correct myself:

The supervisor documentation is correct. (The supervisor has no other
requirements on the start function for a child process than that
it creates and links to it as described.)

However the gen_server|fsm|event man pages are not.
It says "A gen_server started using start_link is linked to the
calling process, this function must be used if the gen_server is
included in a supervision tree." which gives the impression that
the only difference between start and start_link is the linking,
which it is not, as Ulf described.

These man pages have now been corrected.

Best regards, Gunilla



Gunilla Arendt wrote:
>
> Then the documentation is not correct, very sorry about that.
>
> Best regards, Gunilla
>
> Vlad Dumitrescu wrote:
> >
> > From: "Gunilla Arendt" <gunilla_at_erix.ericsson.se>
> > > No, the supervisor *is* required to call start_link!
> >
> > I don't mean to argue with the OTP team Smile 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
>

--
_____Gunilla Arendt______________________________________________
EAB/UKH/KD Erlang/OTP Product Development
Gunilla.Arendt_at_ericsson.com +46-8-7275730 ecn 851 5730


Post generated using Mail2Forum (http://m2f.sourceforge.net)
vlad_dumitrescu at hotmai
Posted: Tue Nov 25, 2003 11:06 pm Reply with quote
Guest
From: "Gunilla Arendt" <gunilla_at_erix.ericsson.se>
> No, the supervisor *is* required to call start_link!

I don't mean to argue with the OTP team Smile 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


Post generated using Mail2Forum (http://m2f.sourceforge.net)
wuji
Posted: Sat Aug 25, 2012 6:22 am Reply with quote
User Joined: 10 Aug 2012 Posts: 654
we don't know a lot of the circumstances, even around around cheap designer *beep* around his personal life. This was not someone anyone followed.
is someone that sadly a lot of people had forgotten forgotten cheap Christian Louboutin forgotten about," said Ian Drew, senior editor at Us Weekly.Sage
is the eldest of Sylvester Stallone's five children with first first [h4]red bottom shoes[/h4] first wife Sasha Czack. US Navy Fires on Ship in
Gulf, One DeadUS Official Says Warning Shots Fired Before Small Small [h1]red bottom shoes[/h1] Small Vessel Was 'Engaged'By LUIS MARTINEZJuly 16, 2012 — An
Navy ship fired on a boat in the Persian Gulf Gulf [h2]cheap Ralph Lauren Polo[/h2] Gulf today, killing one person and injuring three others aboard
craft, U.S. naval officials told ABC News.Lt. Greg Raelson, a a [h2]cheap Ralph Lauren Polo[/h2] a spokesperson for the Navy's 5th Fleet, which is based
View user's profile Send private message

Display posts from previous:  

All times are GMT
Page 2 of 2
Goto page Previous  1, 2
This forum is locked: you cannot post, reply to, or edit topics.

Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum