[erlang-questions] Supervisor question

kilgore trout kilgoretrout62@REDACTED
Wed Feb 8 13:17:21 CET 2012

That looks exactly like what I need. Thanks for the super-fast response!
Regards, KT.

On Wed, Feb 8, 2012 at 11:56 AM, Richard Carlsson <
carlsson.richard@REDACTED> wrote:

> On 02/08/2012 12:49 PM, kilgore trout wrote:
>> Hello List,
>> I have a newbie question. I've written myself a server process in basic
>> Erlang and put it into a supervision tree. It all works fine but it
>> always throws out a crash report on shutdown as it looks like it's not
>> getting shut down when it should. I intend to redisgn it as a gen_server
>> but for now I want to know how to make it shut down properly.
>> In the supervisor's documentation I see the line: "Note that all child
>> processes implemented using the standard OTP behavior modules
>> automatically adhere to the shutdown protocol." Is there something
>> simple I can add or remove to make my server appear like a "standard OTP
>> behaviour"?
> You could try a supervisor bridge:
>  http://www.erlang.org/doc/man/**supervisor_bridge.html<http://www.erlang.org/doc/man/supervisor_bridge.html>
>   /Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120208/80768a71/attachment.htm>

More information about the erlang-questions mailing list