SV: Killing Supervisor

Surindar Sivanesan <>
Fri Apr 28 06:08:39 CEST 2006


Hi,
I thank Serge, Lennart and Samuel for the reply to my doubt.
But still I haven't get the clear idea of stopping the entire supervision
tree. Kindly do my favour.

Best Regards,
S.Surindar


On 4/26/06, Samuel Rivas <> wrote:
>
> Lennart Öhman wrote:
> >    If you simply do exit(Pid,kill) on the supervisor, it will not
> >    be given the chance of terminating its children in an ordered
> >    way.
>
> Calling exit(SupervisorPid, shutdown) in the supervisor's parent
> process would do the trick.
>
> Regards
> --
>        Samuel
>



--
with regards,
S.Surindar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060428/8e15e8ab/attachment.html>


More information about the erlang-questions mailing list