[erlang-questions] Designing supervision trees
Bartłomiej Puzoń
bartlomiej@REDACTED
Wed May 5 21:29:35 CEST 2010
> but, for what I have understood from the supervisor
> documentation, if I want a child to be supervised, it has
> to implement one of the
> four behaviours, doesn't it? So, if my child doesn't do that (it is
> simply a process which executes a single function in loop), how can I attach
> it to a supervisor?
In order to put your process into a supervision tree, you have to make it compliant with
the OTP design principles. For more details, check:
http://www3.erlang.org/doc/design_principles/spec_proc.html
Saludos,
--
Bartłomiej Puzoń
Erlang Solutions
---------------------------------------------------
---------------------------------------------------
WE'VE CHANGED NAMES!
Since January 1st 2010 Erlang Training and Consulting Ltd. has become ERLANG SOLUTIONS LTD.
www.erlang-solutions.com
More information about the erlang-questions
mailing list