[erlang-questions] About global process is killed question

Barco You barcojie@REDACTED
Wed Jan 9 05:40:19 CET 2013


Use Timeout on B,C

receive
{Pid,okss} ->
              io:format("~p~n", [{Pid,Any}]),
              Pid ! "thank you",
              loop()
after Timeout ->
        dosothing here
end.

On Wed, Jan 9, 2013 at 12:16 PM, 郎咸武 <langxianzhe@REDACTED> wrote:

> *Assuming that* it is true, what should we do now? Assuming there is 3
> servers (A,B,C) in the cluster.
>
> Register a global process (global:register_name(gl, Pid)) in the A server.
> Then 3 servers is work well.
>
> *The question* is the other Sever(B and C ) does not work when the A
> server is killed.
>
> Thanks for any idea.
>
> Cheers, Jason
>
>
>
>
> 只为成功找方法,不为失败找理由
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20130109/3a8ead60/attachment.htm>


More information about the erlang-questions mailing list