func sync/atomic.AddInt32
4 uses
sync/atomic (current package)
doc.go#L120: func AddInt32(addr *int32, delta int32) (new int32)
type.go#L88: func (x *Int32) Add(delta int32) (new int32) { return AddInt32(&x.v, delta) }
sync
mutex.go#L193: atomic.AddInt32(&m.state, delta)
mutex.go#L221: new := atomic.AddInt32(&m.state, -mutexLocked)
 |
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. |