"Process up" notification
Vlad Dumitrescu (EAW)
Thu Feb 13 17:57:06 CET 2003
Thanks, I haven't been thinking about service-broker, even if I used it once. In practice I must be non-intrusive on the monitored process, so I might have to just spawn a process that does the checking once in a while.
Since my process of interest is in a supervision hierarchy, it would have been nice if supervisor would have provided such functionality.
(Now I know this is a small thing and relatively easy to fix, but maybe it shows up that this is of broader interest)
> -----Original Message-----
> From: Micael Karlberg [mailto:]
> Sent: Thursday, February 13, 2003 5:32 PM
> To: Vlad Dumitrescu (EAW)
> Cc: Erlang-questions (E-mail)
> Subject: "Process up" notification
> Check out the service broker by Håkan Mattson.
> (The service_broker-1.0 in the user contrib area).
> Vlad Dumitrescu (EAW) writes:
> > Hi,
> > Is there a way to get notificated when a process registers
> with a certain name? I suppose the answer is no, but it might
> be a cool feature :-)
> > As an alternative, how costly is to periodically check
> with erlang:whereis, respectively global:whereis_name, that
> it has been registered? I don't think it might be a problem
> to check every 10 seconds or so, but it doesn't hurt to double-check.
> > Thanks in advance. Regards,
> > Vlad
> Micael Karlberg Ericsson AB, Älvsjö Sweden
> Tel: +46 8 727 5668 EAB/UHK/KD - OTP Product Development
> ECN: 851 5668 Mail:
> Fax: +46 8 727 5775
More information about the erlang-questions