sync/atomic.Uint32.CompareAndSwap (method)
2 uses
sync/atomic (current package)
type.go#L156: func (x *Uint32) CompareAndSwap(old, new uint32) (swapped bool) {
os
exec.go#L305: if !p.state.CompareAndSwap(state, uint32(newStatus)) {
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)