internal/runtime/atomic.Uint32.Add (method)
33 uses
internal/runtime/atomic (current package)
types.go#L290: func (u *Uint32) Add(delta int32) uint32 {
runtime
mcleanup.go#L509: q.asleep.Add(1)
mcleanup.go#L517: q.asleep.Add(-1)
mcleanup.go#L620: q.needg.Add(int32(newg))
mcleanup.go#L633: q.asleep.Add(-int32(wake))
mcleanup.go#L667: q.ng.Add(int32(need))
mcleanup.go#L681: q.running.Add(1)
mcleanup.go#L690: q.running.Add(-1)
mgc.go#L877: work.cycles.Add(1)
mgc.go#L1337: work.markrootJobs.Add(int32(work.nStackRoots - work.nMaybeRunnableStackRoots))
mgcmark.go#L1194: job := work.markrootNext.Add(1) - 1
mspanset.go#L235: if block.popped.Add(1) == spanSetBlockEntries {
mstats.go#L778: seq := pp.statsSeq.Add(1)
mstats.go#L807: seq := pp.statsSeq.Add(1)
netpoll.go#L684: netpollWaiters.Add(delta)
panic.go#L852: runningPanicDefers.Add(1)
panic.go#L1337: runningPanicDefers.Add(-1)
panic.go#L1471: runningPanicDefers.Add(-1)
panic.go#L1533: panicking.Add(1)
panic.go#L1606: if panicking.Add(-1) != 0 {
proc.go#L2758: extraMWaiters.Add(1)
proc.go#L2774: extraMLength.Add(delta)
proc.go#L2787: extraMInUse.Add(1)
proc.go#L2797: extraMInUse.Add(-1)
sema.go#L182: root.nwait.Add(1)
sema.go#L185: root.nwait.Add(-1)
sema.go#L228: root.nwait.Add(-1)
sema.go#L581: return l.wait.Add(1) - 1
signal_unix.go#L353: gp.m.preemptGen.Add(1)
sigqueue.go#L77: sig.delivering.Add(1)
sigqueue.go#L81: sig.delivering.Add(-1)
sigqueue.go#L89: sig.delivering.Add(-1)
sigqueue.go#L122: sig.delivering.Add(-1)
![]() |
The pages are generated with Golds v0.8.4. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |