Chapter 13Errors in Concurrent Programs
Handling errors in concurrent programs involves a completely different way of thinking than handling errors in sequential programs. In this chapter, we’ll build upon the principles you learned about in Chapter 6, Error Handling in Sequential Programs, extending the ideas to concurrent programs.
We’ll look at the underlying philosophy of error handling and at the details of how errors are propagated between processes and trapped by other processes. Finally we’ll round off with some small examples that form a basis for programming fault-tolerant software.
Imagine a system with only one sequential process. If this process dies, we might be in deep trouble since no other process can help. For this reason, ...
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