func internal/runtime/atomic.Xadd
9 uses
internal/runtime/atomic (current package)
atomic_amd64.go#L52: func Xadd(ptr *uint32, delta int32) uint32
types.go#L291: return Xadd(&u.value, delta)
runtime
lock_futex.go#L142: for v := atomic.Xadd(&mp.waitsema, -1); ; v = atomic.Load(&mp.waitsema) {
lock_futex.go#L159: v := atomic.Xadd(&mp.waitsema, 1)
mfinal.go#L141: atomic.Xadd(&finq.cnt, +1) // Sync with markroots
mgc.go#L1056: atomic.Xadd(&gcMarkDoneFlushed, 1)
mgc.go#L1934: decnwait := atomic.Xadd(&work.nwait, -1)
mgc.go#L1945: incnwait := atomic.Xadd(&work.nwait, +1)
sema.go#L209: atomic.Xadd(addr, 1)
![]() |
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. |