runtime.p.runqtail (field)
17 uses
runtime (current package)
proc.go#L3084: if _g_.m.spinning && (pp.runnext != 0 || pp.runqhead != pp.runqtail) {
proc.go#L4688: for pp.runqhead != pp.runqtail {
proc.go#L4690: pp.runqtail--
proc.go#L4691: gp := pp.runq[pp.runqtail%uint32(len(pp.runq))].ptr()
proc.go#L5406: t := atomic.Load(&_p_.runqtail)
proc.go#L5715: tail := atomic.Load(&_p_.runqtail)
proc.go#L5717: if tail == atomic.Load(&_p_.runqtail) {
proc.go#L5759: t := _p_.runqtail
proc.go#L5762: atomic.StoreRel(&_p_.runqtail, t+1) // store-release, makes the item available for consumption
proc.go#L5819: t := pp.runqtail
proc.go#L5831: return (pp.runqtail + o) % uint32(len(pp.runq))
proc.go#L5839: atomic.StoreRel(&pp.runqtail, t)
proc.go#L5865: t := _p_.runqtail
proc.go#L5883: t := atomic.LoadAcq(&_p_.runqtail) // load-acquire, synchronize with the producer
proc.go#L5936: t := _p_.runqtail
proc.go#L5950: atomic.StoreRel(&_p_.runqtail, t+n) // store-release, makes the item available for consumption
runtime2.go#L597: runqtail 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. |