func sync/atomic.CompareAndSwapUint64
8 uses
sync/atomic (current package)
doc_64.go#L35: func CompareAndSwapUint64(addr *uint64, old, new uint64) (swapped bool)
type.go#L179: return CompareAndSwapUint64(&x.v, old, new)
go.uber.org/atomic
uint64.go#L77: return atomic.CompareAndSwapUint64(&i.v, old, new)
internal/poll
fd_mutex.go#L63: if atomic.CompareAndSwapUint64(&mu.state, old, new) {
fd_mutex.go#L84: if atomic.CompareAndSwapUint64(&mu.state, old, new) {
fd_mutex.go#L109: if atomic.CompareAndSwapUint64(&mu.state, old, new) {
fd_mutex.go#L150: if atomic.CompareAndSwapUint64(&mu.state, old, new) {
fd_mutex.go#L186: if atomic.CompareAndSwapUint64(&mu.state, old, new) {