[erlang-questions] Understanding supervisor / start_link behaviour
Ahmed Omar
spawn.think@REDACTED
Wed Jun 1 23:57:37 CEST 2011
Agree with Roberto, you should put under supervisor. Regarding your case, i
would guess you are trapping exit in your init in my_gen_event?
On Wed, Jun 1, 2011 at 11:15 PM, Roberto Ostinelli <roberto@REDACTED>wrote:
> hi steve,
>
> your gen_event should be started by your supervisor too. in this case,
> since you specified a one_for_all behaviour, when gen_server crashes,
> gen_event will be restarted too.
>
> r.
>
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
>
>
--
Best Regards,
- Ahmed Omar
http://nl.linkedin.com/in/adiaa
Follow me on twitter
@spawn_think <http://twitter.com/#!/spawn_think>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20110601/d0ec2de8/attachment.htm>
More information about the erlang-questions
mailing list