sync.Pool.local (field)
8 uses
sync (current package)
pool.go#L47: local unsafe.Pointer // local fixed-size per-P pool, actual type is [P]poolLocal
pool.go#L156: locals := p.local // load-consume
pool.go#L202: l := p.local // load-consume
pool.go#L218: l := p.local
pool.go#L222: if p.local == nil {
pool.go#L228: atomic.StorePointer(&p.local, unsafe.Pointer(&local[0])) // store-release
pool.go#L248: p.victim = p.local
pool.go#L250: p.local = nil
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |