【2014-11-23】《The Hardware/Software Interface》– Section 8 (continue)
- Exceptions:
- Process(进程)
- Process abstraction provides an interface between the program and the underlying CPU + Memory.
- Definition: A process is an instance of a running program
- Process provides each program with two key abstractions:
- Logical control flow
- Each process seems to have exclusive use of the CPU
- Private virtual address space
- Each process seems to have exclusive use of main memory
- Context Switching
- Processes are managed by a shared chunk of OS code called the kernel
- Control flow passes from one process to another via a context switch
![image image]()
- Creating New Processes & Programs





浙公网安备 33010602011771号