[erlang-questions] Newbie question--workers starting supervisors

Edmund Jorgensen tomheon@REDACTED
Tue Apr 17 15:39:06 CEST 2007


I've googled for this but I can't find the answer.  In an OTP
application, is it acceptable to have a non-supervisor process (say a
gen_server) start one or more supervisors?  The diagrams in OTP
principles never show such an arrangement, but they don't warn against
it either.  The gen_server in question is itself a long lived and
supervised process.  Will the supervisors be correctly linked to the
gen_server that started them?  Or am I asking for problems doing it
this way?



More information about the erlang-questions mailing list