并发和并行的区别

2017-09-06  本文已影响17人  无善无恶

并发:一个人同时吃三个馒头

并行:三个人同时吃三个馒头

参考文章

并发和并行的区别解释(1) CPU 看并发 CPU 看并行

go语言创始人解释:

Concurrency is about dealing with lots of things at once.
Parallelism is about doing lots of things at once.

上一篇 下一篇

猜你喜欢

热点阅读