gen_supervisor problem

Surindar Sivanesan <>
Wed Jun 28 12:55:08 CEST 2006


Dear all,

I'm running an application using OTP principles.

The Supervision tree has the following structure.
                          Supervisor1
                             /          \
                            /            \
                    Supervisor2      Workers
                       /
                      /
                   Workers

             Here if the Supervisor2 is exited then it would start
automatically. There is no problem in that. But Supervisor2  starts with the
same data which i passed while starting the Supervisor2 . What i want is, if
the Supervisor2 is restarted, it should not use the same data which i passed
to it while starting that. ie. I want the data to be passed to the
Supervisor2 under my control while restarting it. How this can be acheived?
Please clarify
-- 
Thanks in advance,
S.Surindar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20060628/b14851d7/attachment.html>


More information about the erlang-questions mailing list