package atomic
Import Path
runtime/internal/atomic (on golang.org and go.dev)
Dependency Relation
imports one package, and imported by one package
Involved Source Files
atomic_amd64.go
stubs.go
asm_amd64.s
Exported Values
func Casp1(ptr *unsafe.Pointer, old, new unsafe.Pointer) bool
NO go:noescape annotation; see atomic_pointer.go.
func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)
StorepNoWB performs *ptr = val atomically and without a write
barrier.
NO go:noescape annotation; see atomic_pointer.go.
![]() |
The pages are generated with Golds v0.1.6. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project and 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. |