mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2024-11-24 15:18:57 +00:00
426 B
426 B
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" %}