go之GPM調度策略

一、GPM簡介 G:Groutine,協程 M:Machine,內核線程,對應CPU P:Processor,G和M的調度對象,包含LRQ type g struct { .... m *m sched gobuf goid int64 .... } type gobuf struct {
相關文章
相關標籤/搜索