runtime/internal/atomic.Uint64.CompareAndSwap (method)
9 uses
runtime/internal/atomic (current package)
types.go#L324: func (u *Uint64) CompareAndSwap(old, new uint64) bool {
runtime
mgclimit.go#L438: if e.stamp.CompareAndSwap(uint64(old), uint64(new)) {
mgclimit.go#L456: if e.stamp.CompareAndSwap(uint64(stamp), uint64(limiterEventStampNone)) {
mgcpacer.go#L1360: if c.idleMarkWorkers.CompareAndSwap(old, new) {
mgcpacer.go#L1390: if c.idleMarkWorkers.CompareAndSwap(old, new) {
mgcpacer.go#L1410: if c.idleMarkWorkers.CompareAndSwap(old, new) {
mspanset.go#L362: return h.u.CompareAndSwap(uint64(old), uint64(new))
profbuf.go#L169: if b.overflow.CompareAndSwap(overflow, ((overflow>>32)+1)<<32) {
profbuf.go#L199: if b.overflow.CompareAndSwap(overflow, overflow+1) {
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. |