Distributed spawn-linking.

Javier París Fernández <>
Mon Aug 8 18:37:56 CEST 2005


On Mon, Aug 08, 2005 at 07:14:15PM +0300, Alex Arnon wrote:
> Thank you, but this does not answer my question, which is specifically
> about the behaviour of spawn(). I shall reword:
> - Is spawn(Node, ...) a synchronous operation? I.e. does the spawning
> process wait for the target node to acknowledge and assign the PID
> before returning?
> - If not, does Erlang handle the original example? And if it does, how?

Well, as the spawn call returns the pid of the created process, it has
to be syncrhonous. 

However, in your example, the new process could die before the overseer 
links with it.


More information about the erlang-questions mailing list