[erlang-questions] gproc and synchronous start of registred processes

Magnus Klaar magnus.klaar@REDACTED
Mon Oct 31 22:45:15 CET 2011

You can't, not without fetching a list of all child processes. A supervisor
ensures that only one child per Id, is started. Also registering the child
in gproc under the same Id makes sure you to look up the pid once the child
has been started. the two mechanisms complement each other.

On Mon, Oct 31, 2011 at 10:32 PM, Max Lapshin <max.lapshin@REDACTED> wrote:

> On Tue, Nov 1, 2011 at 12:26 AM, Magnus Klaar <magnus.klaar@REDACTED>
> wrote:
> > Sarcasm on the internet, it's hard work and gets lost in transmission.
> The
> > suggestion was to delegate the responsibility to your supervisor, an
> > existing process in your system that already knows how to perform the
> task
> > you're asking for.
> How can I ask supervisor to find named child?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20111031/515d2036/attachment.htm>

More information about the erlang-questions mailing list