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

6 uses

	internal/runtime/atomic (current package)
		types.go#L400: func (u *Uintptr) CompareAndSwap(old, new uintptr) bool {

	runtime
		mheap.go#L808: 			if h.reclaimCredit.CompareAndSwap(credit, credit-take) {
		netpoll.go#L557: 		if gpp.CompareAndSwap(pdReady, pdNil) {
		netpoll.go#L560: 		if gpp.CompareAndSwap(pdNil, pdWait) {
		netpoll.go#L611: 		if gpp.CompareAndSwap(old, new) {
		proc.go#L2642: 		if extraM.CompareAndSwap(old, locked) {