sync/atomic.Int32.Add (method)
9 uses
sync/atomic (current package)
type.go#L88: func (x *Int32) Add(delta int32) (new int32) { return AddInt32(&x.v, delta) }
sync
rwmutex.go#L70: if rw.readerCount.Add(1) < 0 {
rwmutex.go#L118: if r := rw.readerCount.Add(-1); r < 0 {
rwmutex.go#L133: if rw.readerWait.Add(-1) == 0 {
rwmutex.go#L150: r := rw.readerCount.Add(-rwmutexMaxReaders) + rwmutexMaxReaders
rwmutex.go#L152: if r != 0 && rw.readerWait.Add(r) != 0 {
rwmutex.go#L207: r := rw.readerCount.Add(rwmutexMaxReaders)
context
context.go#L508: goroutines.Add(1)
crypto/tls
conn.go#L1207: defer c.activeCall.Add(-2)
![]() |
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. |