[erlang-questions] -pidname( <atom> ) Was: Why we need a -module() attribute?

Richard A. O'Keefe ok@REDACTED
Thu Mar 3 01:52:09 CET 2016



On 3/03/16 11:17 am, Éric Pailleau wrote:
>
> And for local pidname,  a simple put() can store the spawned Pid in 
> parent process dictionary and retrieve with get().
>

which would be amazingly useless for the problem -pidnames were devised to
solve, which is not a PROCESS knowing a particular pid, but a MODULE.
Modules don't *have* a process dictionary.





More information about the erlang-questions mailing list