internal/runtime/atomic.Uint32.Swap (method)
5 uses
internal/runtime/atomic (current package)
types.go#L257: func (u *Uint32) Swap(value uint32) uint32 {
runtime
mcleanup.go#L661: need := min(q.needg.Swap(0), maxCleanupGs()-have)
mgclimit.go#L306: old := l.lock.Swap(0)
mstats.go#L871: m.gen.Swap((currGen + 1) % 3)
proc.go#L2493: c := extraMWaiters.Swap(0)
![]() |
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. |