[erlang-questions] erlang:monitor() lag time: how long to expect?

Igor Ribeiro Sucupira <>
Thu May 22 02:45:57 CEST 2008


On Wed, May 21, 2008 at 6:38 PM, Per Hedeland <> wrote:
> "Igor Ribeiro Sucupira" <> wrote:
>>
>>>From the man pages:
>>"When a process is monitored by registered name, the process that has
>>the registered name at the time when erlang:monitor/2 is called will
>>be monitored. The monitor will not be effected, if the registered name
>>is unregistered."
>
> Uh, I believe that just says that the monitoring continues even if the
> name is unregistered - has no bearing on what happens when you try to
> monitor something that doesn't exist in the first place. The relevant
> part is in the next paragraph:


Hum... that's correct. The first sentence had confused me. The
following paragraph (which I hadn't read  :p) makes it clear.

Igor.

>   A  'DOWN'  message will be sent to the monitoring process if Item dies,
>   if Item does not exist, or if the connection is lost to the node  which
>   ^^^^^^^^^^^^^^^^^^^^^^
>   Item resides on. A 'DOWN' message has the following pattern:
>   [snip]
>
> I don't know the reason for Scott's delay either though...
>
> --Per Hedeland



More information about the erlang-questions mailing list