func internal/runtime/atomic.Xchg
5 uses
internal/runtime/atomic (current package)
atomic_amd64.go#L64: func Xchg(ptr *uint32, new uint32) uint32
types.go#L258: return Xchg(&u.value, value)
runtime
lock_futex.go#L27: old := atomic.Xchg(key32(&n.key), 1)
mgc.go#L860: if atomic.Xchg(&mp.signalSecret, 0) != 0 {
sigqueue.go#L165: sig.recv[i] = atomic.Xchg(&sig.mask[i], 0)
![]() |
The pages are generated with Golds v0.8.4. (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. |