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

9 uses

	runtime/internal/atomic (current package)
		types.go#L324: func (u *Uint64) CompareAndSwap(old, new uint64) bool {

	runtime
		mgclimit.go#L438: 		if e.stamp.CompareAndSwap(uint64(old), uint64(new)) {
		mgclimit.go#L456: 		if e.stamp.CompareAndSwap(uint64(stamp), uint64(limiterEventStampNone)) {
		mgcpacer.go#L1360: 		if c.idleMarkWorkers.CompareAndSwap(old, new) {
		mgcpacer.go#L1390: 		if c.idleMarkWorkers.CompareAndSwap(old, new) {
		mgcpacer.go#L1410: 		if c.idleMarkWorkers.CompareAndSwap(old, new) {
		mspanset.go#L362: 	return h.u.CompareAndSwap(uint64(old), uint64(new))
		profbuf.go#L169: 		if b.overflow.CompareAndSwap(overflow, ((overflow>>32)+1)<<32) {
		profbuf.go#L199: 		if b.overflow.CompareAndSwap(overflow, overflow+1) {