internal/runtime/atomic.Uint32.Swap (method)
4 uses
internal/runtime/atomic (current package)
types.go#L257: func (u *Uint32) Swap(value uint32) uint32 {
runtime
mgclimit.go#L308: old := l.lock.Swap(0)
mstats.go#L873: m.gen.Swap((currGen + 1) % 3)
proc.go#L2413: c := extraMWaiters.Swap(0)
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)