Understanding Operating Systems: Traps, Interrupts, System Calls, and Threads
Classified in Computers
Written on in English with a size of 3.94 KB
What is the Key Difference Between a Trap and an Interrupt?
A trap is caused by the program and is synchronous with it. If the program is run again and again, the trap will always occur at exactly the same position in the instruction stream. An interrupt is caused by an external event and its timing is not reproducible.
Why is the Process Table Needed in a Timesharing System?
The process table is needed to store the state of a process that is currently suspended, either ready or blocked. It is not needed in a single-process system because the single process is never suspended.
Is the Process Table Needed in Personal Computer Systems With Only One Process?
No, it is not needed in a single-process system because the single process is never suspended.... Continue reading "Understanding Operating Systems: Traps, Interrupts, System Calls, and Threads" »