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
concurrenttask, it may or may not execute inparallel. -
If a task is a
paralleltask, it is definitely aconcurrenttask