runtime.g.atomicstatus (field)
10 uses
runtime (current package)
proc.go#L830: return atomic.Load(&gp.atomicstatus)
proc.go#L852: success = atomic.Cas(&gp.atomicstatus, oldval, newval)
proc.go#L872: r := atomic.Cas(&gp.atomicstatus, oldval, newval)
proc.go#L907: for i := 0; !atomic.Cas(&gp.atomicstatus, oldval, newval); i++ {
proc.go#L908: if oldval == _Gwaiting && gp.atomicstatus == _Grunnable {
proc.go#L915: for x := 0; x < 10 && gp.atomicstatus != oldval; x++ {
proc.go#L937: if atomic.Cas(&gp.atomicstatus, oldstatus, _Gcopystack) {
proc.go#L952: for !atomic.Cas(&gp.atomicstatus, _Grunning, _Gscan|_Gpreempted) {
proc.go#L963: return atomic.Cas(&gp.atomicstatus, _Gpreempted, _Gwaiting)
runtime2.go#L424: atomicstatus uint32
 |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |