Process Flashcards
What are the two classes of exceptions?
I.Synchronous
II.Asynchronous
What causes a synchronous exception?
The currently executing program
what are the 3 sub classes of synchronous exceptions?
- Traps
- Faults
- Aborts
traps
intentionally triggered by a system call and usually recoverable
Faults
Are usually unintentional and may or may not be recoverable. (segmentation fault, protection fault) return from fault results in retrying the faulting instruction.
Aborts
They are unintentional and irrecoverable , usually goes hand in hand with terminating program
Whar causes Asynchronous exceptions?
Events outside of the current instruction external of it.
What are asynchronous exceptions known as when they are hardware initiated?
Interrupts
what are some examples of interrupts?
control c , ctrl- alt- del, power button
what are interrupts associated with?
Specific hardware processor pins , checked after every cpu cycle. Associated with handler functions via interrupt vector.