Skip to content

Exit reason 'kill' is not converted to 'killed' #49

eriksoe opened this Issue Feb 5, 2011 · 1 comment

3 participants

eriksoe commented Feb 5, 2011

...which means that an unconditional process termination is propagated unconditionally as well.
==== To reproduce:
1> process_flag(trap_exit, true).
2> link(spawn(fun()->timer:sleep(2000), exit(self(), kill) end)).

==== Observed behaviour:
3> ** exception error: killed
% I.e., initial process is slain as well.

==== Expected behaviour:
3> f(M), receive M->M end.
% I.e., initial process receives a non-'kill' exit message.

edwardw commented Jun 21, 2011


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.