Skip to content
This repository has been archived by the owner on Nov 27, 2024. It is now read-only.

Latest commit

 

History

History
19 lines (12 loc) · 614 Bytes

Concurrency and parallelism.md

File metadata and controls

19 lines (12 loc) · 614 Bytes
tags aliases sources
definition
concurrency, parallelism

Here considered software terminology.

Concurrency is about dealing with a lot of things at once Parallelism is about doing a lot of things at once

Concurrency is when two or more tasks can start, run, and complete in overlapping time periods. (I don't get it fully - as I got it, concurrency is like one cashier simultaneously handle two or more queues).

One processor multiplexed - that's concurrent execution.

Parallelism is when tasks literally run at the same time, e.g., on a multicore processor.