上善若水
In general the OO style is to use a lot of little objects with a lot of little methods that give us a lot of plug points for overriding and variation. To do is to be -Nietzsche, To bei is to do -Kant, Do be do be do -Sinatra
posts - 146,comments - 147,trackbacks - 0

看到一篇非常简洁的解释并发(Concurrent)与并行(Parallel)的区别的文章,纪录一下,以供参考。原文出自: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.


posted on 2015-07-28 23:43 DLevin 阅读(833) 评论(0)  编辑  收藏 所属分类: 经验积累MultiThreading

只有注册用户登录后才能发表评论。


网站导航: