exit in fun running via timer:apply_interval/4

Reto Kramer kramer@REDACTED
Fri Jun 3 20:53:23 CEST 2005


Folks,

I'm looking for the best (elegant) way to make sure that if there's an 
exit in the Mod:Fun that I run via timer:apply_interval/4, the "parent" 
process (the one that scheduled the timer) will receive the exit 
message, so I can programmatically react to it (and e.g. shutdown my 
system).

I'm sure someone out there has an elegant solution.

Thanks!
- Reto




More information about the erlang-questions mailing list