func sync/atomic.CompareAndSwapUint32
4 uses
sync/atomic (current package)
doc.go#L103: func CompareAndSwapUint32(addr *uint32, old, new uint32) (swapped bool)
type.go#L27: return CompareAndSwapUint32(&x.v, b32(old), b32(new))
type.go#L147: return CompareAndSwapUint32(&x.v, old, new)
net/http
h2_bundle.go#L7737: reused := !atomic.CompareAndSwapUint32(&cc.reused, 0, 1)
![]() |
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. |