Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 426 Bytes

ch9-08.md

File metadata and controls

11 lines (6 loc) · 426 Bytes

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" %}