- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for castogscanstatus (0.38 sec)
-
src/runtime/preempt.go
fallthrough case _Grunnable, _Gsyscall, _Gwaiting: // Claim goroutine by setting scan bit. // This may race with execution or readying of gp. // The scan bit keeps it from transition state. if !castogscanstatus(gp, s, s|_Gscan) { break } // Clear the preemption request. It's safe to // reset the stack guard because we hold the // _Gscan bit and thus own the stack. gp.preemptStop = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 15.1K bytes - Viewed (0) -
src/runtime/proc.go
if r { acquireLockRankAndM(lockRankGscan) } return r } } print("runtime: castogscanstatus oldval=", hex(oldval), " newval=", hex(newval), "\n") throw("castogscanstatus") panic("not reached") } // casgstatusAlwaysTrack is a debug flag that causes casgstatus to always track // various latencies on every transition instead of sampling them. var casgstatusAlwaysTrack = false
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 207.5K bytes - Viewed (0)