Показаны сообщения с ярлыком definition. Показать все сообщения
Показаны сообщения с ярлыком definition. Показать все сообщения

среда, 30 июля 2014 г.

Parallelism or Concurrency

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. Eg. multitasking on a single-core machine.
Parallelism is when tasks literally run at the same time, eg. on a multicore processor.
Source