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

6 uses

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

	runtime
		mheap.go#L818: 			if h.reclaimCredit.CompareAndSwap(credit, credit-take) {
		netpoll.go#L546: 		if gpp.CompareAndSwap(pdReady, pdNil) {
		netpoll.go#L549: 		if gpp.CompareAndSwap(pdNil, pdWait) {
		netpoll.go#L594: 		if gpp.CompareAndSwap(old, new) {
		proc.go#L2292: 		if extraM.CompareAndSwap(old, locked) {