Error Handling Semantics
In this section, you’ll learn about the semantics of interprocess error handling. You’ll see some new terms that you’ll come across later in the chapter. The best way to understand error handing is to quickly read through the definitions and then skip to the next sections for a more intuitive understanding of the concepts involved. You can always refer to this section if you need to do so.
- Processes
-
There are two types of processes: normal processes and system processes.
spawncreates a normal process. A normal process can become a system process by evaluating the BIFprocess_flag(trap_exit, true). - Links
-
Processes can be linked. If the two processes
AandBare linked andAterminates for any reason, an error signal ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access