Golang深入理解GPM模型

p調(diào)用g的順序:
源碼:runtime/proc.go
func findRunnable() (gp *g, inheritTime, tryWakeP bool) {
在線鏈接:https://cs.opensource.google/go/go/+/refs/tags/go1.20:src/runtime/proc.go
版本:go1.20
1.local runq
2.global runq
3.poll network
4.steal
標(biāo)簽: