Please enable JavaScript.
Coggle requires JavaScript to display documents.
Chapter 3 Processes, Implementation of Communication Link - Coggle Diagram
Chapter 3 Processes
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
-
-
Current activity including program counter, processor registers
-
The program code, also called text section
-
-
Execution of program started via GUI mouse clicks, command line entry of its name, etc.
-
IPC Shared Memory
-
Major issues is to provide mechanism that will allow the user processes to synchronize their actions when they access shared memory.
-
-
-
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
-
IPC Message Passing
-
-
-
Message Passing
If processes P and Q wish to communicate, they need to:
-
-
-
Process Scheduling
Goal -- Maximize CPU use, quickly switch processes onto CPU core
-
-
-
Process State
As a process executes, it changes state
-
-
-
-
-
-
-
-
-
-
-
Threads
So far, process has a single thread of execution
-
-
-
-