bug in pid()?

Daniel Solaz dsolaz@REDACTED
Wed Jul 30 08:34:03 CEST 2003


is this a bug?

node1> self().
<0,41,0>
node1> global:register_name(shell1, self()).
yes
node1> global:whereis_name(shell1) == pid(0, 41, 0).
true

node2> global:whereis_name(shell1) == pid(3822, 41, 0).
false

comparison is true when pid is local but false when remote

tested with
R9B-1 and P9C (July 28) on FreeBSD/x86
R9B-1 on Linux/x86 and Linux/HPPA





More information about the erlang-questions mailing list