func sync/atomic.CompareAndSwapUint64
7 uses
sync/atomic (current package)
doc.go#L108: func CompareAndSwapUint64(addr *uint64, old, new uint64) (swapped bool)
type.go#L179: return CompareAndSwapUint64(&x.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) {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |