runtime/internal/atomic.Int32.Add (method)
24 uses
runtime/internal/atomic (current package)
types.go#L55: func (i *Int32) Add(delta int32) int32 {
runtime
proc.go#L874: sched.nmspinning.Add(1)
proc.go#L1725: pendingPreemptSignals.Add(-1)
proc.go#L2076: sched.ngsys.Add(-1)
proc.go#L2149: sched.ngsys.Add(1)
proc.go#L2192: sched.ngsys.Add(1)
proc.go#L2747: if sched.nmspinning.Add(-1) < 0 {
proc.go#L2823: if sched.nmspinning.Add(-1) < 0 {
proc.go#L3123: if sched.nmspinning.Add(-1) < 0 {
proc.go#L3459: nmspinning := sched.nmspinning.Add(-1)
proc.go#L3868: sched.ngsys.Add(-1)
proc.go#L4538: sched.ngsys.Add(1)
proc.go#L5482: sched.nmspinning.Add(1)
proc.go#L6109: sched.npidle.Add(1)
proc.go#L6135: sched.npidle.Add(-1)
rwmutex.go#L39: if rw.readerCount.Add(1) < 0 {
rwmutex.go#L63: if r := rw.readerCount.Add(-1); r < 0 {
rwmutex.go#L68: if rw.readerWait.Add(-1) == 0 {
rwmutex.go#L87: r := rw.readerCount.Add(-rwmutexMaxReaders) + rwmutexMaxReaders
rwmutex.go#L90: if r != 0 && rw.readerWait.Add(r) != 0 {
rwmutex.go#L106: 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)
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |