This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: Handler decides whether to Abort, or Return and restart current instruction Trigger 3: Aborts o Unrecoverable hard error o Action Terminate program Question is termination always best? Trigger 4: Traps o Explicitly requested exception o Action Branch to vectored exception handler OS provides requested service at its convenience Return to next instruction o For synchronous triggers resumption of execution is whenever scheduled by OS Processes o A process is an instance of a running program Logical flow control (determined by code) Private virtaual address space Different Process o Use execve() to load and run a new program in the context of the current process int execve(char *filename, char *argv, char *envp)...
View Full Document
This note was uploaded on 12/05/2011 for the course ENGINEERIN 131 taught by Professor Cytron during the Spring '11 term at Washington University in St. Louis.
- Spring '11
- Computer Science