func sync/atomic.CompareAndSwapUint32

6 uses

	sync/atomic (current package)
		doc.go#L101: func CompareAndSwapUint32(addr *uint32, old, new uint32) (swapped bool)
		type.go#L27: 	return CompareAndSwapUint32(&x.v, b32(old), b32(new))
		type.go#L131: 	return CompareAndSwapUint32(&x.v, old, new)

	github.com/gotd/td/internal/rpc
		engine.go#L101: 		if ok := atomic.CompareAndSwapUint32(&handlerCalled, 0, 1); !ok {

	go.uber.org/atomic
		uint32.go#L77: 	return atomic.CompareAndSwapUint32(&i.v, old, new)

	net/http
		h2_bundle.go#L7647: 		reused := !atomic.CompareAndSwapUint32(&cc.reused, 0, 1)