[erlang-questions] gproc and synchronous start of registred processes
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>
> > Sarcasm on the internet, it's hard work and gets lost in transmission.
> > suggestion was to delegate the responsibility to your supervisor, an
> > existing process in your system that already knows how to perform the
> > you're asking for.
> How can I ask supervisor to find named child?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions