diff --git a/School/Analyse/Periode 2/Week 1.md b/School/Analyse/Periode 2/Week 1.md index c68c724..086a8e1 100644 --- a/School/Analyse/Periode 2/Week 1.md +++ b/School/Analyse/Periode 2/Week 1.md @@ -59,13 +59,24 @@ when program issues IO command, cpu is granted to the next program. **Parallel**: If the computer has multiple CPU's or Cores, the programs run in parallel. -> **Physically simultaneous** +![[conc-parallel.png]] + # Sharing Resources -Sometimes diffrent programs (or same program) may share resources. +Sometimes different programs (or same program) may share resources. If data is **sequentially** accessible, programs should take turns accessing resource/data. Fast shared resource access can create **concurrent** access. +# Concurrency +Unlike parallelism, concurrency is not always about running faster. +- Single cpu/core computers may also use concurrency. + +Useful for: +- App responsiveness. +- Processor utilization (hide IO time) +- Failure isolation + diff --git a/conc-parallel.png b/conc-parallel.png new file mode 100644 index 0000000..5b86291 Binary files /dev/null and b/conc-parallel.png differ