[erlang-questions] RPC module and erlang:group_leader/0/2 usage

21 views
Skip to first unread message

Zabrane Mickael

unread,
Sep 11, 2012, 4:47:49 AM9/11/12
to Erlang Questions
Hi guys,

I'm digging a bit inside the "rpc.erl" module.

I found calls to "group_leader/0/2" almost everywhere (rpc:call, rpc:cast, rpc:eval_everywhere etc).

What's the purpose of using "group_leader" in this module?
Thanks in advance.

Regards,
Zabrane

_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://erlang.org/mailman/listinfo/erlang-questions

Claes Wikstrom

unread,
Sep 25, 2012, 12:19:59 PM9/25/12
to erlang-q...@erlang.org
On 9/11/12 10:47 AM, Zabrane Mickael wrote:
> Hi guys,
>
> I'm digging a bit inside the "rpc.erl" module.
>
> I found calls to "group_leader/0/2" almost everywhere (rpc:call, rpc:cast, rpc:eval_everywhere etc).
>
> What's the purpose of using "group_leader" in this module?
> Thanks in advance.

It'll make io:formats show up on the calling node

/klacke
Reply all
Reply to author
Forward
0 new messages