[erlang-questions] Adding a non-OTP module to a supervisor

Andreas Hillqvist <>
Fri Feb 22 08:28:39 CET 2008


Look at the supervisor_bridge
(http://www.erlang.org/doc/man/supervisor_bridge.html)

I belive it is what you want


Regards
Andreas Hillqvist

2008/2/22, Dave Bryson <>:
> Is it possible to add a non-OTP module to the supervior strategy?
>
> I have a module that doesn't use an OTP behavior (not
> gen_server,gen_event, etc...). The module registers a couple of
> processes for handling receive... after...timeout events. Can this
> module be added as callback module to the supervisor strategy and be
> treated as a worker?
>
> Thanks!
> Dave
> _______________________________________________
> erlang-questions mailing list
> 
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list