首页 > 代码库 > 【2014-11-23】《The Hardware/Software Interface》– Section 8 (continue)
【2014-11-23】《The Hardware/Software Interface》– Section 8 (continue)
- Exceptions:
- An exception is transfer of control to the operating system in response to some event.
- exception processing by exception handler
- 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
- Creating New Processes & Programs
【2014-11-23】《The Hardware/Software Interface》– Section 8 (continue)
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。