上善若水
          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 閱讀(874) 評論(0)  編輯  收藏 所屬分類: 經驗積累MultiThreading
          主站蜘蛛池模板: 金秀| 宜宾市| 青铜峡市| 高安市| 两当县| 普洱| 桐城市| 晋宁县| 吉木乃县| 祁东县| 威远县| 河曲县| 五家渠市| 安顺市| 东源县| 大竹县| 南川市| 泸水县| 都匀市| 成都市| 洛宁县| 凭祥市| 新余市| 喀喇沁旗| 临高县| 泽州县| 宝鸡市| 章丘市| 建昌县| 金塔县| 河南省| 葫芦岛市| 永仁县| 多伦县| 资源县| 漾濞| 肃宁县| 栾川县| 宜丰县| 禹城市| 通江县|