[erlang-questions] It would be nice if one could attach a "context" value to a monitor, so you get that value back when/if the monitor is trigged

Christian S chsu79@REDACTED
Thu Aug 21 10:01:57 CEST 2008


> Give this process a "context" value, let it monitor the target process.
> When the monitor message arrives just send the monitor message and the
> value to the ''original process'' (the one that wanted to monitor in the
> beginning).

That's *smack-forehead* easy! :)

I can also hide the (to me) somewhat ugly looking 'DOWN' message with
something more specific.  Iz nice!



More information about the erlang-questions mailing list