mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2024-11-19 21:03:43 +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" %}