Chanpter Exceptional Control Flow-- Classes of Exceptions
来源:互联网 发布:淘宝网页怎么看直播 编辑:程序博客网 时间:2024/05/21 08:57
Class Cause Async/Sync Return behavior
————————————————————————————————————————————————————
Interrupt Signal from I/O device Async always returns to next instruction
————————————————————————————————————————————————————
Trap Intentional exception Sync Always returns to next instruction
Fault Potentially recoverable error Sync Might return to current instruction or abort
Abort Nonrecoverable error Sync Never returns
————————————————————————————————————————————————————
Interrupt
Interrupt是异步的,因为事件从I/O设备传来。处理这个事件,必须等到当前指令执行完毕。
The remaining classes of exceptions (traps, faults, and aborts) occur synchronously as a result of executing
the current instruction. We refer to this instruction as the faulting instruction.
而接下来的exception呢,都是因为执行当前指令导致。所以是同步的。这些指令叫做 faulting instruction.
Traps
traps的重要的一种形式是 system call。
Faults
发生fault时,系统接管进行处理,如果能够修复就返回到前面那条指令继续执行。 如果不能修复,则abort。
fault的重要的一种形式是 page fault exception
Abort
abort是无法修复的,只有退出了。
- Chanpter Exceptional Control Flow-- Classes of Exceptions
- Exceptions and control flow
- Chapter 8 Exceptional Control Flow -- Nonlocal Jumps
- Signal Handling on Exceptional Control Flow
- Exceptional Flow Control(异常控制流)
- Minidriver Flow of Control
- C++ Flow of control
- Exceptional C++: [Item 47. Control Flow] [条款47 控制流]
- 《CS:APP》 chapter 8 Exceptional Control Flow 笔记
- 控制流 Flow of Control
- Chapter 3– Control Flow of TCPL (Part 9)
- 10 Exceptions and Control
- Item 47. Control Flow
- Program flow control (Notes)
- Control Flow Functions!
- Producer Flow Control
- LSL-- Flow Control
- Flow control in ksh
- 关于PCL指令格式
- 谷歌技术“三宝”之一的Google文件系统和Kosmos 文件系统
- carbide.c++ 如何生成sisx文件
- kick off
- JAVA对XML的几种解析方法讲解(JDOM)
- Chanpter Exceptional Control Flow-- Classes of Exceptions
- 为DrawPrimitiveUP(DrawUserPrimitive)洗冤
- delphi 三层开发经验汇总
- skyeye模拟u-boot在s3c2410上运行
- 如果...两个人分手以后.......
- 【linux内核2.4.26·网络】IP分片重组过程函数解析
- 游戏中运动模糊用累积缓冲的简单实现
- 颠覆 那玩腻了的感觉
- jmp指令用法