You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// no local work, check that there are no spinning/idle M's,// otherwise our help is not requiredifsched.nmspinning.Load()+sched.npidle.Load() ==0&&sched.nmspinning.CompareAndSwap(0, 1) { // TODO: fast atomicsched.needspinning.Store(0)
startm(pp, true, false)
return
}
If we want to check idle M, why use npidle?
A typo?
The text was updated successfully, but these errors were encountered:
https://github.com/golang/go/blob/master/src/runtime/proc.go#L2664
If we want to check idle M, why use npidle?
A typo?
The text was updated successfully, but these errors were encountered: