1 min readAug 6, 2020
--
Switching between threads is not parallelism, it’s concurrency. If you have multiple threads sharing execution time on the same core being managed (switched between) due to its multithreading capability, that’s concurrency. Independent execution on multiple cores (CPUs, vCPUs) that’s parallelism.