[erlang-questions] Pass Name to Dynamic Supervisors

Christopher Wilson wilsoncj1@REDACTED
Thu Sep 8 04:09:21 CEST 2011


Is there a way to pass a name/ID into the call to supervisor:start_child,
more specifically to init()?  I'd like to specify the name of the worker or
supervisor such that when I ran supervisor:which_children I could identify
what's what.

Also, I've tried [unsuccessfully] to dynamically create a child spec and add
pass that in.  Are there any decent examples out there on how to do this
outside of the man pages?

Thank you.

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110907/7b56b68b/attachment.htm>


More information about the erlang-questions mailing list