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
Currently sync synchronization primitives are fully cooperative. That is, once
contention is discovered, the goroutine calls into scheduler. This is suboptimal as the
resource can become free soon after.
Consider adding limited active spinning on contention with scheduler hint. The scheduler
hint can include:
1. If GOMAXPROCS==1, don't spin (pointless)
2. If local work queue is not empty, don't spin (at least we have local work, so cycles
won't be wasted)
Otherwise spin for a bit, re-check resource and block if still busy.
The text was updated successfully, but these errors were encountered:
The text was updated successfully, but these errors were encountered: