runtime/internal/atomic.Int64.CompareAndSwap (method)

7 uses

	runtime/internal/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#L5598: 			sched.lastpoll.CompareAndSwap(lastpoll, now)
		time.go#L1023: 		if pp.timerModifiedEarliest.CompareAndSwap(old, nextwhen) {