runtime.p.numTimers (field)
10 uses
runtime (current package)
proc.go#L3212: if pp != getg().m.p.ptr() || int(atomic.Load(&pp.deletedTimers)) <= int(atomic.Load(&pp.numTimers)/4) {
proc.go#L4709: pp.numTimers = 0
proc.go#L5650: if atomic.Load(&pp.numTimers) > 0 {
proc.go#L5658: if atomic.Load(&pp.numTimers) == 0 {
runtime2.go#L697: numTimers uint32
time.go#L299: atomic.Xadd(&pp.numTimers, 1)
time.go#L393: atomic.Xadd(&pp.numTimers, -1)
time.go#L416: atomic.Xadd(&pp.numTimers, -1)
time.go#L987: atomic.Xadd(&pp.numTimers, -cdel)
time.go#L1016: if numTimers := int(atomic.Load(&pp.numTimers)); len(pp.timers) != numTimers {
![]() |
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. |