sync/atomic.Uint64.CompareAndSwap (method)

2 uses

	sync/atomic (current package)
		type.go#L154: func (x *Uint64) CompareAndSwap(old, new uint64) (swapped bool) {

	sync
		waitgroup.go#L108: 		if wg.state.CompareAndSwap(state, state+1) {