internal/runtime/atomic.Int32.Add (method)
37 uses
internal/runtime/atomic (current package)
types.go#L55: func (i *Int32) Add(delta int32) int32 {
runtime
proc.go#L999: sched.nmspinning.Add(1)
proc.go#L1965: pendingPreemptSignals.Add(-1)
proc.go#L2345: sched.ngsys.Add(-1)
proc.go#L2423: sched.ngsys.Add(1)
proc.go#L2480: sched.ngsys.Add(1)
proc.go#L3108: if sched.nmspinning.Add(-1) < 0 {
proc.go#L3184: if sched.nmspinning.Add(-1) < 0 {
proc.go#L3494: if sched.nmspinning.Add(-1) < 0 {
proc.go#L3854: nmspinning := sched.nmspinning.Add(-1)
proc.go#L4279: sched.ngsys.Add(-1)
proc.go#L5038: sched.ngsys.Add(1)
proc.go#L6006: sched.nmspinning.Add(1)
proc.go#L6607: sched.npidle.Add(1)
proc.go#L6633: sched.npidle.Add(-1)
rwmutex.go#L78: if rw.readerCount.Add(1) < 0 {
rwmutex.go#L102: if r := rw.readerCount.Add(-1); r < 0 {
rwmutex.go#L107: if rw.readerWait.Add(-1) == 0 {
rwmutex.go#L126: r := rw.readerCount.Add(-rwmutexMaxReaders) + rwmutexMaxReaders
rwmutex.go#L129: if r != 0 && rw.readerWait.Add(r) != 0 {
rwmutex.go#L145: r := rw.readerCount.Add(rwmutexMaxReaders)
signal_unix.go#L356: pendingPreemptSignals.Add(-1)
signal_unix.go#L377: pendingPreemptSignals.Add(1)
signal_unix.go#L456: pendingPreemptSignals.Add(-1)
signal_unix.go#L779: crashing.Add(1)
time.go#L251: ts.zombies.Add(-1)
time.go#L439: t.ts.zombies.Add(1)
time.go#L533: t.ts.zombies.Add(-1)
time.go#L683: ts.zombies.Add(-1)
time.go#L837: ts.zombies.Add(-1)
time.go#L1046: t.ts.zombies.Add(1)
time.go#L1054: if t.isSending.Add(1) < 0 {
time.go#L1099: if t.isSending.Add(-1) < 0 {
time.go#L1339: t.ts.zombies.Add(-1)
time.go#L1374: t.ts.zombies.Add(1)
traceruntime.go#L296: trace.exitingSyscall.Add(1)
traceruntime.go#L301: trace.exitingSyscall.Add(-1)
![]() |
The pages are generated with Golds v0.7.6. (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. |