[erlang-questions] spawn_link/{2,4} implementation?

Benoit Chesneau bchesneau@REDACTED
Mon Nov 14 05:04:04 CET 2016

Got a little further this morning, I see in the erlang bif, that it does a
`gen_server:call` to `{net_kernel, Node}` and then in net_kernel, spawn a
process, and link to the original pid. But I'm trying to understand how the
'EXIT' is relayed, what is the logic behind?

My original intention was to add it to teleport once the handshake is

so I can have an option to spawn a process on a remote node via tcp
connection and link it. Any idea is welcome.


On Sun, Nov 13, 2016 at 10:43 AM Benoit Chesneau <bchesneau@REDACTED>

> Is there any documentation that describes how spawning a a process on a
> remote node is implemented? Which part of the code is responsible of it?
> I am wondering how the link between 2 processes on 2 different nodes is
> implemented, if there is some PING mechanism or such, ...
> Benoît
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20161114/c4cc8d4e/attachment.htm>

More information about the erlang-questions mailing list