start_link and death of parent

Matthias Lang matthias@REDACTED
Thu Jun 17 21:34:05 CEST 2004


Fredrik Linder writes:

 > Is this a known problem in r9c-0, and if so is it corrected in r9c-1?

 > Shouldn't <1308.2282.0> die when <1308.2281.0> dies.

No, it should not die.

By default, a linked process only exits if it receive an abnormal EXIT
signal. Your 'fun' is exiting normally, thus the linked gen_server
does not and should not exit.

Or have I completely misunderstood your problem?

(BTW: there's a very nice, concise Erlang reference up at 
  
   http://www.erlang.org/doc/r9c/pdf/reference_manual-5.3.pdf

Great work, whoever wrote it.)

Matthias



More information about the erlang-questions mailing list