[erlang-questions] Supervisor question
Wed Feb 8 13:17:21 CET 2012
That looks exactly like what I need. Thanks for the super-fast response!
On Wed, Feb 8, 2012 at 11:56 AM, Richard Carlsson <
> 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
> You could try a supervisor bridge:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions