internal/runtime/atomic.Uint64.CompareAndSwap (method)
10 uses
internal/runtime/atomic (current package)
types.go#L324: func (u *Uint64) CompareAndSwap(old, new uint64) bool {
runtime
mcleanup.go#L452: if q.workUnits.CompareAndSwap(wu, wu-1) {
mgclimit.go#L437: if e.stamp.CompareAndSwap(uint64(old), uint64(new)) {
mgclimit.go#L455: if e.stamp.CompareAndSwap(uint64(stamp), uint64(limiterEventStampNone)) {
mgcpacer.go#L1453: if c.idleMarkWorkers.CompareAndSwap(old, new) {
mgcpacer.go#L1483: if c.idleMarkWorkers.CompareAndSwap(old, new) {
mgcpacer.go#L1503: if c.idleMarkWorkers.CompareAndSwap(old, new) {
mspanset.go#L384: return h.u.CompareAndSwap(uint64(old), uint64(new))
profbuf.go#L173: if b.overflow.CompareAndSwap(overflow, ((overflow>>32)+1)<<32) {
profbuf.go#L203: if b.overflow.CompareAndSwap(overflow, overflow+1) {
 |
The pages are generated with Golds v0.8.4. (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. |