[erlang-questions] Re: Supervisors as factories *and* registries
Garrett Smith
g@REDACTED
Tue Mar 23 00:32:36 CET 2010
On Mon, Mar 22, 2010 at 4:10 PM, Steve Davis
<steven.charles.davis@REDACTED> wrote:
> I believe the data you need is already there/accessible.
>
> Check out sys:get_status().
I'm seeing a list of child specs, which still leaves me with the
problem of maintaining an index.
My wish list would include support for custom supervisor behaviors
(i.e. exposing a set of callback functions ala gen_server), but short
of that, it looks like a process local ETS table is my best option.
Garrett
More information about the erlang-questions
mailing list