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) {
![]()  | 
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |