func sync/atomic.StoreInt32
11 uses
sync/atomic (current package)
doc.go#L129: func StoreInt32(addr *int32, val int32)
internal/poll
fd_unix.go#L494: atomic.StoreInt32(&tryDupCloexec, 0)
net/http
server.go#L527: func (b *atomicBool) setTrue() { atomic.StoreInt32((*int32)(b), 1) }
server.go#L528: func (b *atomicBool) setFalse() { atomic.StoreInt32((*int32)(b), 0) }
server.go#L3124: atomic.StoreInt32(&srv.disableKeepAlives, 0)
server.go#L3127: atomic.StoreInt32(&srv.disableKeepAlives, 1)
runtime/trace
trace.go#L136: atomic.StoreInt32(&tracing.enabled, 1)
trace.go#L145: atomic.StoreInt32(&tracing.enabled, 0)
testing
benchmark.go#L617: atomic.StoreInt32(&b.hasSub, 1)
benchmark.go#L649: atomic.StoreInt32(&sub.hasSub, 1)
testing.go#L1206: atomic.StoreInt32(&t.hasSub, 1)