gopl-zh.github.com/ch9/ch9-08.md
2016-01-08 19:34:37 +08:00

426 B
Raw Blame History

9.8. Goroutines和線程

在上一章中我們説goroutine和操作繫統的線程區别可以先忽略。盡管兩者的區别實際上隻是一個量的區别但量變會引起質變的道理同樣適用於goroutine和線程。現在正是我們來區分開兩者的最佳時機。

{% include "./ch9-08-1.md" %}

{% include "./ch9-08-2.md" %}

{% include "./ch9-08-3.md" %}

{% include "./ch9-08-4.md" %}