Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 3: Processes - Coggle Diagram
Chapter 3: Processes
-
Process Scheduling
-
Goal -- Maximize CPU use, quickly switch processes onto CPU core
-
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 Concept
Process Concept
-
Process – a program in execution; process execution must progress in sequential fashion. No parallel execution of instructions of a single process
Multiple parts
The program code, also called text section
Current activity including program counter, processor registers
-
Function parameters, return addresses, local variables
-
-
-
-
-
-
Operations on Processes
Process Creation
Parent process create children processes, which, in turn create other processes, forming a tree of processes
Process Termination
Process executes last statement and then asks the operating system to delete it using the exit() system call.
-
-
IPC – Shared Memory
-
-
Major issues is to provide mechanism that will allow the user processes to synchronize their actions when they access shared memory.
-
-