延展阅读 下面是非常有用的资源: 可以在https://golang.org/pkg/sync/查看 sync 包文档。 可以在https://golang.org/pkg/context/查看 context 包文档。 访问https://golang.org/src/runtime/proc.go了解更多关于 Go 调度器多实现。 可以在浏览 Go 调度器的设计文档。