- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for atomicstatus (0.14 sec)
-
src/runtime/proc.go
const yieldDelay = 5 * 1000 var nextYield int64 // loop if gp->atomicstatus is in a scan state giving // GC time to finish and change the state to oldval. for i := 0; !gp.atomicstatus.CompareAndSwap(oldval, newval); i++ { if oldval == _Gwaiting && gp.atomicstatus.Load() == _Grunnable { systemstack(func() { // Call on the systemstack to prevent throw from counting
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)