Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 3 : Processes - Coggle Diagram
Chapter 3 : Processes
-
-
-
-
Current activity including program counter, processor registers
a program in execution
-
-
Program is passive, process is active
Context Switch
When CPU switches to another process, the system must save the state of the old process and load the saved state for the new process via a context switch
-
-
Process Scheduling
-
scheduling queue
Ready queue – set of all processes residing in main memory, ready and waiting to execute
Wait queues – set of processes waiting for an event (i.e., I/O)
-
Process Control Block
task control block
Process state – running, waiting, etc.
-
-
CPU scheduling information- priorities, scheduling queue pointers
-
Accounting information – CPU used, clock time elapsed since start, time limits
I/O status information – I/O devices allocated to process, list of open files
Process Creation
Parent process create children processes, forming a tree of processes
-