func runtime/internal/atomic.Xchg

7 uses

	runtime/internal/atomic (current package)
		atomic_amd64.go#L61: func Xchg(ptr *uint32, new uint32) uint32
		types.go#L258: 	return Xchg(&u.value, value)

	runtime
		lock_futex.go#L60: 	v := atomic.Xchg(key32(&l.key), mutex_locked)
		lock_futex.go#L102: 		v = atomic.Xchg(key32(&l.key), mutex_sleeping)
		lock_futex.go#L116: 	v := atomic.Xchg(key32(&l.key), mutex_unlocked)
		lock_futex.go#L140: 	old := atomic.Xchg(key32(&n.key), 1)
		sigqueue.go#L165: 			sig.recv[i] = atomic.Xchg(&sig.mask[i], 0)