Documentation ¶
Index ¶
- func And8(ptr *uint8, val uint8)
- func Cas(ptr *uint32, old, new uint32) bool
- func Cas64(ptr *uint64, old, new uint64) bool
- func Casp1(ptr *unsafe.Pointer, old, new unsafe.Pointer) bool
- func Casuintptr(ptr *uintptr, old, new uintptr) bool
- func Load(ptr *uint32) uint32
- func Load64(ptr *uint64) uint64
- func Loadint64(ptr *int64) int64
- func Loadp(ptr unsafe.Pointer) unsafe.Pointer
- func Loaduint(ptr *uint) uint
- func Loaduintptr(ptr *uintptr) uintptr
- func Or8(ptr *uint8, val uint8)
- func Store(ptr *uint32, val uint32)
- func Store64(ptr *uint64, val uint64)
- func StorepNoWB(ptr unsafe.Pointer, val unsafe.Pointer)
- func Storeuintptr(ptr *uintptr, new uintptr)
- func Xadd(ptr *uint32, delta int32) uint32
- func Xadd64(ptr *uint64, delta int64) uint64
- func Xaddint64(ptr *int64, delta int64) int64
- func Xadduintptr(ptr *uintptr, delta uintptr) uintptr
- func Xchg(ptr *uint32, new uint32) uint32
- func Xchg64(ptr *uint64, new uint64) uint64
- func Xchguintptr(ptr *uintptr, new uintptr) uintptr
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Casuintptr ¶
func Loaduintptr ¶
func StorepNoWB ¶
StorepNoWB performs *ptr = val atomically and without a write barrier.
NO go:noescape annotation; see atomic_pointer.go.
func Storeuintptr ¶
func Xadduintptr ¶
func Xchguintptr ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.