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#L69: if rw.readerCount.Add(1) < 0 {
rwmutex.go#L117: if r := rw.readerCount.Add(-1); r < 0 {
rwmutex.go#L132: if rw.readerWait.Add(-1) == 0 {
rwmutex.go#L149: r := rw.readerCount.Add(-rwmutexMaxReaders) + rwmutexMaxReaders
rwmutex.go#L151: if r != 0 && rw.readerWait.Add(r) != 0 {
rwmutex.go#L206: r := rw.readerCount.Add(rwmutexMaxReaders)
context
context.go#L503: goroutines.Add(1)
crypto/tls
conn.go#L1191: defer c.activeCall.Add(-2)
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. |