func runtime/internal/atomic.Xchg
4 uses
runtime/internal/atomic (current package)
atomic_amd64.go#L60: func Xchg(ptr *uint32, new uint32) uint32
runtime
mstats.go#L953: atomic.Xchg(&m.gen, (currGen+1)%3)
proc.go#L1877: c := atomic.Xchg(&extraMWaiters, 0)
sigqueue.go#L190: sig.recv[i] = atomic.Xchg(&sig.mask[i], 0)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |