[erlang-questions] The most efficient way to make sure a remote process is alive
Fri Jul 30 23:17:05 CEST 2010
NICE! That is what I was looking for. I thought I had the RPC module memorized and so I never even looked for this function. Thanks.
From: [mailto:] On Behalf Of Evgeniy Khramtsov
Sent: Thursday, July 29, 2010 11:02 PM
Subject: Re: [erlang-questions] The most efficient way to make sure a remote process is alive
30.07.2010 02:22, Logan, Martin wrote:
> I am looking for the absolute most efficient way to make sure a process, referenced by a pid I have, is alive. The process my pid references could of course be local or remote. There are lots of ways but I want the most efficient and I can't assume any application level code - this must be generic. Thoughts?
rpc:pinfo/1,2. If the pid is local, rpc transforms into apply/3, so it
is pretty efficient.
Evgeniy Khramtsov, ProcessOne.
erlang-questions (at) erlang.org mailing list.
To unsubscribe; mailto:
More information about the erlang-questions