Vault sync: 2022-01-26 14:14:31

This commit is contained in:
Nick Leeman 2022-01-26 14:14:31 +01:00
parent 0c3af947ec
commit 0580f26359

View File

@ -46,7 +46,7 @@ While a program waits for IO, other programs can use CPU. This solution requires
Multitasking overlaps IO time of a program with CPU time of other program.
## Multitasking with multiple processors
# Multitasking with multiple processors
If computer has a single CPU, programs should take turns in using it.
If computer has multiple CPUS, each task can be given a different CPU.
@ -54,6 +54,9 @@ If computer has multiple CPUS, each task can be given a different CPU.
when program issues IO command, cpu is granted to the next program.
# Concurrent vs Parallel
Concurrent: Fast switching from a program to the next program (context switch) can create the illusion that they are being executed at the same time. -> Logically Simultaneous