Go: runtime/internal/atomic Index | Files

package atomic

import "runtime/internal/atomic"

Index

Package Files

atomic_amd64x.go stubs.go

func And8 Uses

func And8(ptr *uint8, val uint8)

go:noescape

func Cas Uses

func Cas(ptr *uint32, old, new uint32) bool

go:noescape

func Cas64 Uses

func Cas64(ptr *uint64, old, new uint64) bool

go:noescape

func Casp1 Uses

func Casp1(ptr *unsafe.Pointer, old, new unsafe.Pointer) bool

NO go:noescape annotation; see atomic_pointer.go.

func Casuintptr Uses

func Casuintptr(ptr *uintptr, old, new uintptr) bool

go:noescape

func Load Uses

func Load(ptr *uint32) uint32

go:nosplit go:noinline

func Load64 Uses

func Load64(ptr *uint64) uint64

go:nosplit go:noinline

func Loadint64 Uses

func Loadint64(ptr *int64) int64

go:noescape

func Loadp Uses

func Loadp(ptr unsafe.Pointer) unsafe.Pointer

go:nosplit go:noinline

func Loaduint Uses

func Loaduint(ptr *uint) uint

go:noescape

func Loaduintptr Uses

func Loaduintptr(ptr *uintptr) uintptr

go:noescape

func Or8 Uses

func Or8(ptr *uint8, val uint8)

go:noescape

func Store Uses

func Store(ptr *uint32, val uint32)

go:noescape

func Store64 Uses

func Store64(ptr *uint64, val uint64)

go:noescape

func StorepNoWB Uses

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.

func Storeuintptr Uses

func Storeuintptr(ptr *uintptr, new uintptr)

go:noescape

func Xadd Uses

func Xadd(ptr *uint32, delta int32) uint32

go:noescape

func Xadd64 Uses

func Xadd64(ptr *uint64, delta int64) uint64

go:noescape

func Xaddint64 Uses

func Xaddint64(ptr *int64, delta int64) int64

go:noescape

func Xadduintptr Uses

func Xadduintptr(ptr *uintptr, delta uintptr) uintptr

go:noescape

func Xchg Uses

func Xchg(ptr *uint32, new uint32) uint32

go:noescape

func Xchg64 Uses

func Xchg64(ptr *uint64, new uint64) uint64

go:noescape

func Xchguintptr Uses

func Xchguintptr(ptr *uintptr, new uintptr) uintptr

go:noescape

Package atomic imports 1 packages (graph) and is imported by 6 packages. Updated 2017-10-30. Refresh now. Tools for package owners.