[erlang-questions] question: gen_event problems with add_sup_handler() and swap_sup_handler()
Ahmed Ali
ahmed.nawras@REDACTED
Tue Jan 15 20:51:55 CET 2008
Hi,
I've been trying for sometime to find a way to supervise
event_handlers in gen_event behaviour with no luck. I found the
following article and tried the code in it but it does not appear to
be right http://www.trapexit.org/Gen_event_behavior_demystified.
Can anyone please explain how add_sup_handler and swap_sup_handler
work and how I could get my event_handler to get restarted in case of
a crash?
Best regards,
Ahmed
More information about the erlang-questions
mailing list