mirror of
https://github.com/gopl-zh/gopl-zh.github.com.git
synced 2024-12-26 23:06:20 +00:00
12 lines
426 B
Markdown
12 lines
426 B
Markdown
## 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" %}
|