runtime/internal/atomic.UnsafePointer.CompareAndSwap (method)

2 uses

	runtime/internal/atomic (current package)
		types.go#L511: func (u *UnsafePointer) CompareAndSwap(old, new unsafe.Pointer) bool {
		types.go#L570: 	return p.u.CompareAndSwap(unsafe.Pointer(old), unsafe.Pointer(new))