sync/atomic.Int32.Add (method)
11 uses
sync/atomic (current package)
type.go#L94: func (x *Int32) Add(delta int32) (new int32) { return AddInt32(&x.v, delta) }
sync
rwmutex.go#L72: if rw.readerCount.Add(1) < 0 {
rwmutex.go#L120: if r := rw.readerCount.Add(-1); r < 0 {
rwmutex.go#L135: if rw.readerWait.Add(-1) == 0 {
rwmutex.go#L152: r := rw.readerCount.Add(-rwmutexMaxReaders) + rwmutexMaxReaders
rwmutex.go#L154: if r != 0 && rw.readerWait.Add(r) != 0 {
rwmutex.go#L209: r := rw.readerCount.Add(rwmutexMaxReaders)
context
context.go#L521: goroutines.Add(1)
crypto/tls
conn.go#L1213: defer c.activeCall.Add(-2)
github.com/refraction-networking/utls
conn.go#L1217: defer c.activeCall.Add(-2)
u_conn.go#L435: defer c.activeCall.Add(-2)
![]() |
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. |