registering processes
Francesco Cesarini
cesarini@REDACTED
Fri May 18 11:46:18 CEST 2001
What you describe should work, as processes are unique within a network
of meshed Erlang nodes, so you should be able to use the Pid to send
messages to different nodes.
What is probably happening is that one of your newly spawned processes
is terminating (normally or abnormally) but you don't notice as no error
print outs occur. So when you try to send a message to it, it is just
thrown away.
I would suggest you use the debugger to monitor the well being of your
processes (On both nodes), and ensure that the receiver is alive when
you send the message to it.
You could also use proc_lib:spawn/3 to spawn your processes, causing
error print outs when they terminate.
Regards,
Francesco
--
Francesco Cesarini
Erlang/OTP consultant
Cellular: INT+44-7776 250381
ECN: 832-707192
http://welcome.to/cesarini.consultuing
More information about the erlang-questions
mailing list