This preview shows page 1. Sign up to view the full content.
Unformatted text preview: control ﬂow caused by synchronous events. End Aside. 398 CHAPTER 8. EXCEPTIONAL CONTROL FLOW 8.2 Processes
Exceptions provide the basic building blocks that allow the operating system to provide the notion of a process, one of the most profound and successful ideas in computer science. When we run a program on a modern system, we are presented with the illusion that our program is the only one currently running in the system. Our program appears to have exclusive use of both the processor and the memory. The processor appears to execute the instructions in our program, one after the other, without interruption. And the code and data of our program appear to be the only objects in the system’s memory. These illusions are provided to us by the notion of a process. The classic deﬁnition of a process is an instance of a program in execution. Each program in the system runs in the context of some process. The context consists of the state that the program needs to run correctly. This state includes the pr...
View Full Document
This note was uploaded on 09/02/2010 for the course ELECTRICAL 360 taught by Professor Schultz during the Spring '10 term at BYU.
- Spring '10
- The American