func internal/runtime/atomic.Xchg
7 uses
internal/runtime/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#L64: v := atomic.Xchg(key32(&l.key), mutex_locked)
lock_futex.go#L110: v = atomic.Xchg(key32(&l.key), mutex_sleeping)
lock_futex.go#L125: v := atomic.Xchg(key32(&l.key), mutex_unlocked)
lock_futex.go#L150: old := atomic.Xchg(key32(&n.key), 1)
sigqueue.go#L165: sig.recv[i] = atomic.Xchg(&sig.mask[i], 0)
![]() |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |