← 返回卡片

原书出处

Go并发编程实战

07 Goroutine和Channel

核验版本的摘录快照 · 导入于 2026-10-25T21:35:51.383Z

函数runtime.NumGoroutine在被调用后会返回运行时系统中的处于特定状态的Goroutine的数量。这里的特定状态是指Grunnable、Grunning、Gsyscall和Gwaiting。

此预览只包含定位所需的摘录和上下文。

原书定位详情

来源:a19c7933-4eda-4176-aebd-30fe7e1ad292

正文位置:extracted/Go并发编程实战/_epub-src/text/part0000_split_048.html

EPUB SHA-256:f17fc97a33a40d1918f4b076f0361d02fbc6f920afcc8294e7d25b31ec8e825f