[erlang-questions] supervisors, gen_server:terminate/2, and trap_exit

Fred Hebert mononcqc@REDACTED
Thu Mar 12 13:59:28 CET 2015


On 03/12, Imants Cekusins wrote:
> ok so it's about these 2 functions:
> 
> A) erlang:link(C::pid())
> B) erlang:process_flag(trap_exit, Trap::boolean())
> 
> if I understood correctly, if a gs G calls A and B(false) and C dies,
> G's terminate is not called?

Right. Link signals are not converted to messages and the process dies
without calling anything.



More information about the erlang-questions mailing list