Question about an untrappable exit signal
Jahyun Oh
1 post
|
Hello. I have a question about an untrappable exit signal. On the page 163 of Programming Erlang, the book describes :
I read it and thought that the exit signal by the exit reason ‘kill’ is never trapped. I wanted to test this work between the processes. So, I made a link between a normal process ‘A’ and a system process ‘B’. And I got two results in the test :
edemo1 and edemo2 that were demo programs of “Trapping Exit signals (Advaned)” of the Programming Erlang showed the same results, but the explaination about the result of demo programs wasn’t detailed. Why was the exit signal by calling exit(kill) trapped? /jahyun |
Andrew Yates
2 posts
|
exit/1 exits the calling process whereas exit/2 sends the exit signal without exiting the process in which exit/2 was called |
2 posts, 2 voices
