看到一篇非常簡(jiǎn)潔的解釋并發(fā)(Concurrent)與并行(Parallel)的區(qū)別的文章,紀(jì)錄一下,以供參考。原文出自:http://joearms.github.io/2013/04/05/concurrent-and-parallel-programming.html
What’s the difference between concurrency and parallelism?
Explain it to a five year old.

Concurrent = Two queues and one coffee machine.
Parallel = Two queues and two coffee machines.