[erlang-questions] Registered names and pids

Robert Virding rvirding@REDACTED
Wed May 14 21:22:12 CEST 2008


What whereis/1 asks where is the pid. :-)

2008/5/14 DougEdmunds <dougedmunds@REDACTED>:

> Having wasted a lot of time on this question a couple of days
> before the post, I vote whereis/1 as the most non-intuitively
> named standard function.
>
> Better would be waldo/1 (at least that's a name).  :)
>
> -dae
>
>
> Anders Nygren wrote:
> > On Tue, May 13, 2008 at 9:59 PM, Deryk Barker <dbarker@REDACTED>
> wrote:
> >> Maybe I shouldn't need to know this, but I can't find any obvious way:
> >>  is it possible, given the name of a registered process, to find its
> pid:
> >>  a) on the same nod b) on another node?
> >>
> >>  Merci.
> >
> > Locally registered name
> > whereis(Name)
> >
> > Globally registered name
> > global:whereis_name(Name)
> >
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080514/01d26809/attachment.htm>


More information about the erlang-questions mailing list