func sync/atomic.SwapUintptr

3 uses

	sync/atomic (current package)
		doc.go#L84: func SwapUintptr(addr *uintptr, new uintptr) (old uintptr)
		type.go#L174: func (x *Uintptr) Swap(new uintptr) (old uintptr) { return SwapUintptr(&x.v, new) }

	go.uber.org/atomic
		uintptr.go#L87: 	return atomic.SwapUintptr(&i.v, val)