internal/runtime/atomic.Int64.CompareAndSwap (method)
7 uses
internal/runtime/atomic (current package)
types.go#L89: func (i *Int64) CompareAndSwap(old, new int64) bool {
runtime
mgcpacer.go#L779: if val.CompareAndSwap(v, v-1) {
mranges.go#L185: if b.a.CompareAndSwap(old, int64(minOffAddr.addr()-arenaBaseOffset)) {
mranges.go#L200: if b.a.CompareAndSwap(old, new) {
mranges.go#L211: b.a.CompareAndSwap(-int64(markedAddr-arenaBaseOffset), int64(newAddr-arenaBaseOffset))
proc.go#L6127: sched.lastpoll.CompareAndSwap(lastpoll, now)
time.go#L1168: if ts.minWhenModified.CompareAndSwap(old, when) {
![]() |
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. |