func sync/atomic.CompareAndSwapUint64
10 uses
sync/atomic (current package)
doc.go#L106: func CompareAndSwapUint64(addr *uint64, old, new uint64) (swapped bool)
type.go#L155: return CompareAndSwapUint64(&x.v, old, new)
sync
poolqueue.go#L127: if atomic.CompareAndSwapUint64(&d.headTail, ptrs, ptrs2) {
poolqueue.go#L161: if atomic.CompareAndSwapUint64(&d.headTail, ptrs, ptrs2) {
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) {
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |