type sync/atomic.Int32
15 uses
sync/atomic (current package)
type.go#L74: type Int32 struct {
type.go#L80: func (x *Int32) Load() int32 { return LoadInt32(&x.v) }
type.go#L83: func (x *Int32) Store(val int32) { StoreInt32(&x.v, val) }
type.go#L86: func (x *Int32) Swap(new int32) (old int32) { return SwapInt32(&x.v, new) }
type.go#L89: func (x *Int32) CompareAndSwap(old, new int32) (swapped bool) {
type.go#L94: func (x *Int32) Add(delta int32) (new int32) { return AddInt32(&x.v, delta) }
type.go#L98: func (x *Int32) And(mask int32) (old int32) { return AndInt32(&x.v, mask) }
type.go#L102: func (x *Int32) Or(mask int32) (old int32) { return OrInt32(&x.v, mask) }
sync
rwmutex.go#L43: readerCount atomic.Int32 // number of pending readers
rwmutex.go#L44: readerWait atomic.Int32 // number of departing readers
context
context.go#L371: var goroutines atomic.Int32
crypto/tls
conn.go#L121: activeCall atomic.Int32
github.com/refraction-networking/utls
conn.go#L124: activeCall atomic.Int32
log
log.go#L62: flag atomic.Int32 // properties
os
exec.go#L82: refs atomic.Int32
![]() |
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. |