并发和并行的区别
2017-09-06 本文已影响17人
无善无恶
并发:一个人同时吃三个馒头
并行:三个人同时吃三个馒头
![](https://img.haomeiwen.com/i59639/d761bc4e43d92d40.jpg)
go语言创始人解释:
Concurrency is about dealing with lots of things at once.
Parallelism is about doing lots of things at once.
并发:一个人同时吃三个馒头
并行:三个人同时吃三个馒头
go语言创始人解释:
Concurrency is about dealing with lots of things at once.
Parallelism is about doing lots of things at once.