<div dir="ltr"><div><div><div><div><div><div>So:<br><br>1> Pid = spawn_link(fun() -> timer:sleep(infinity) end).<br><0.59.0><br>2> exit(Pid, normal).<br>true<br>3> flush(). <br>ok<br>4> exit(Pid, die).<br>** exception exit: die<br><br></div>I
spawn_link a process which is not trapping and send it the signal
'normal' which it ignores. As it should. I then send it the signal 'die'
and it crashes. As it should.<br><br></div>Now:<br><br>5> exit(self(), normal).<br>** exception exit: normal<br><br></div>Now I send myself the signal 'normal' and I die! So there is 'normal' and there is 'normal' depending on to whom I send it.<br><br></div>Where's the logic in that?<span class="gmail-HOEnZb"><font color="#888888"><br><br></font></span></div><span class="gmail-HOEnZb"><font color="#888888">Robert<br></font></span><br></div>P.S. More to come<br><br></div>