supervisor:restart_child/2

Sean Hinde Sean.Hinde@REDACTED
Fri Feb 23 14:32:44 CET 2001


Ulf>

> When I call 
> 
> supervisor:terminate_child(ThisSuper, ThatChild),
> supervisor:restart_child(ThisSuper, ThatChild).
> 
> Then the supervisor doesn't count this towards the restart 
> frequency. That is, I can do this forever, and the supervisor will
> never escalate.
> 

Seems reasonable to me. Presumably the assumption is that as you are
explicitly calling these functions you are in control of things therefore it
is not a fault condition. Is it?

- Sean



NOTICE AND DISCLAIMER:
This email (including attachments) is confidential.  If you have received
this email in error please notify the sender immediately and delete this
email from your system without copying or disseminating it or placing any
reliance upon its contents.  We cannot accept liability for any breaches of
confidence arising through use of email.  Any opinions expressed in this
email (including attachments) are those of the author and do not necessarily
reflect our opinions.  We will not accept responsibility for any commitments
made by our employees outside the scope of our business.  We do not warrant
the accuracy or completeness of such information.





More information about the erlang-questions mailing list