Slide 7
Slide 7 text
CONCURRENCY?
•
Concurrency, asynchrony and parallelism are different
but related concepts that people often make big
confusions about.
•
“Concurrency is when two tasks can start, run, and
complete in overlapping time periods. It doesn’t
necessarily mean they’ll ever both be running at the
same instant. E.g. Multitasking in a single core machine”
•
“Parallelism is when tasks literally run at the same time,
e.g. on a multicore processor or SIMD instructions”
- Sun’s Multithreaded programming guide