Author:
Concurrency v.s. Parallelism⚓︎
Look at the picture shown below (from Concurrency vs Parallelism) to understand the difference between concurrency and parallelism:
Watchout!
Concurrent ← Parallel
-
If a task is a
concurrent
task, it may or may not execute inparallel
. -
If a task is a
parallel
task, it is definitely aconcurrent
task