[erlang-questions] Registered names and pids

DougEdmunds dougedmunds@REDACTED
Wed May 14 19:20:39 CEST 2008


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)
> 



More information about the erlang-questions mailing list