* exit(C, kill)
* B exits immediately with Reason killed
* A calls terminate with Reason killed
That last line surprised me. I was expecting to receive {'EXIT', B,
killed} in A's mailbox, and in fact I had written a handle_info to
process all 'EXIT' messages, but none arrived. I checked that
trap_exit is still true in A's terminate. {trap_exit, true} clearly
has some effect, as without it terminate isn't even called.
I tried changing the exit signal to some other atom, but I still get
the same basic results (just with goodbye_cruel_world instead of kill/
killed in the Reasons). I'm stumped. Regards, Adam
_______________________________________________
erlang-questions mailing list
erlang-q...@erlang.org
http://www.erlang.org/mailman/listinfo/erlang-questions
Adam