type runtime/internal/atomic.Pointer
13 uses
runtime/internal/atomic (current package)
types.go#L518: type Pointer[T any] struct {
types.go#L525: func (p *Pointer[T]) Load() *T {
types.go#L538: func (p *Pointer[T]) StoreNoWB(value *T) {
types.go#L545: func (p *Pointer[T]) Store(value *T) {
types.go#L561: func (p *Pointer[T]) CompareAndSwapNoWB(old, new *T) bool {
types.go#L569: func (p *Pointer[T]) CompareAndSwap(old, new *T) bool {
runtime
mspanset.go#L298: func (s spanSetSpinePointer) lookup(idx uintptr) *atomic.Pointer[spanSetBlock] {
mspanset.go#L299: return (*atomic.Pointer[spanSetBlock])(add(unsafe.Pointer(s.p), goarch.PtrSize*idx))
runtime.go#L70: var godebugUpdate atomic.Pointer[func(string, string)]
runtime.go#L71: var godebugEnv atomic.Pointer[string] // set by parsedebugvars
runtime.go#L72: var godebugNewIncNonDefault atomic.Pointer[func(string) func()]
runtime.go#L94: inc atomic.Pointer[func()]
trace.go#L171: reader atomic.Pointer[g] // goroutine that called ReadTrace, or nil
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. |