question about supervisors

Francesco Cesarini (Erlang Training & Consulting) <>
Wed Jul 27 13:01:10 CEST 2005

Yes, assuming the supervisor itself does not crash and is restarted by 
its supervisor.

If you only have one instance of that worker / supervisor, it is common 
to register them with a static name, avoiding the need of the pid.


Gaspar Chilingarov wrote:
> Hi all!
> It's supposed if I get PID of process and it's supervisor,
> I can make assumption that even the process dies, supervisor will 
> survive in any case and do not exit - so even if worker PID is invalid I 
> always can ask supervisor for PID of new worker process?
> Thanks in advance

More information about the erlang-questions mailing list