- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for osyield1 (0.08 sec)
-
src/runtime/proc.go
} if i == 0 { nextYield = nanotime() + yieldDelay } if nanotime() < nextYield { for x := 0; x < 10 && gp.atomicstatus.Load() != oldval; x++ { procyield(1) } } else { osyield() nextYield = nanotime() + yieldDelay/2 } } if oldval == _Grunning { // Track every gTrackingPeriod time a goroutine transitions out of running.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)