[erlang-questions] how does a DistEntry get its `creation' value?

Leo Liu <>
Fri Apr 17 03:37:36 CEST 2015


On 2015-04-16 21:16 +0800, Sverker Eriksson wrote:
> Yes, list_to_pid can not restore the correct 'creation' value.
> But the main reason for this is that the string representation "<x.y.z>"
> does not contain any information about 'creation'.
>
> The DistEntry.creation field is always set to zero for remote nodes
> and is only read by list_to_pid. Creation value zero has a special
> meaning of "this node instance" if the node name matches the local
> node.

Many thanks for the information. That clears my confusion.

> list_to_pid is documented as a debugging feature, which means the
> priority to "fix" this has not been very high.

Noted.

Thanks again,
Leo



More information about the erlang-questions mailing list