[erlang-questions] simple_one_for_one child not restarting

Tomasz Maciejewski ponton@REDACTED
Thu Dec 23 01:17:37 CET 2010


Dnia 23-12-2010 o 01:08:05 Jacob Vorreuter <jacob.vorreuter@REDACTED> napisał(a):

> Am I doing it wrong?


You don't link the worker process to the supervisor.

test:erl:

6  start_link() ->
7      gen_server:start(?MODULE, [], []).


Use gen_server:start_link() instead.

-- 
Tomasz Maciejewski


More information about the erlang-questions mailing list