[erlang-questions] Fwd: Question about gen_server:multi_call/2

David Budworth <>
Tue May 13 02:53:42 CEST 2008


doh, forgot the reply all.

---------- Forwarded message ----------
From: David Budworth <>
Date: Mon, May 12, 2008 at 7:53 PM
Subject: Re: [erlang-questions] Question about gen_server:multi_call/2
To: "Kevin A. Smith" <>


I think it's just confusing wording.
reworded, it says that " the service named 'XXX' will be called on all nodes
that have a server locally registered with name 'XXX' "

ie: you have 5 nodes, 4 have a "local" server named XXX.  the server will be
called on all 4 of those nodes.


On Sun, May 11, 2008 at 8:47 PM, Kevin A. Smith <>
wrote:

> I've been reading the man page on gen_server and the section
> describing multi_call/2 states:
>
> "Makes  a  synchronous call to all gen_servers locally registered
> as Name at the specified nodes by first  sending  a  request  to
> every  node  and  then  waiting for the replies."
>
> Does this apply to gen_server:multi_call/2? If so, how can I register
> multiple processes on the same node with the same name?
>
> Thanks,
> Kevin
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080512/0e80ebd8/attachment.html>


More information about the erlang-questions mailing list