Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + func And(ptr *uint32, val uint32) + func And8(ptr *uint8, val uint8) + func Cas(ptr *uint32, old, new uint32) bool + func Cas64(ptr *uint64, old, new uint64) bool + func CasRel(ptr *uint32, old, new uint32) bool + func Casint32(ptr *int32, old, new int32) bool + func Casint64(ptr *int64, old, new int64) 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 Load8(ptr *uint8) uint8 + func LoadAcq(ptr *uint32) uint32 + func LoadAcq64(ptr *uint64) uint64 + func LoadAcquintptr(ptr *uintptr) uintptr + func Loadint32(ptr *int32) int32 + func Loadint64(ptr *int64) int64 + func Loadp(ptr unsafe.Pointer) unsafe.Pointer + func Loaduint(ptr *uint) uint + func Loaduintptr(ptr *uintptr) uintptr + func Or(ptr *uint32, val uint32) + func Or8(ptr *uint8, val uint8) + func Store(ptr *uint32, val uint32) + func Store64(ptr *uint64, val uint64) + func Store8(ptr *uint8, val uint8) + func StoreRel(ptr *uint32, val uint32) + func StoreRel64(ptr *uint64, val uint64) + func StoreReluintptr(ptr *uintptr, val uintptr) + func Storeint32(ptr *int32, new int32) + func Storeint64(ptr *int64, new int64) + 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 Xaddint32(ptr *int32, delta int32) int32 + 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 Xchgint32(ptr *int32, new int32) int32 + func Xchgint64(ptr *int64, new int64) int64 + func Xchguintptr(ptr *uintptr, new uintptr) uintptr + type Float64 struct + func (f *Float64) Load() float64 + func (f *Float64) Store(value float64) + type Int32 struct + func (i *Int32) Add(delta int32) int32 + func (i *Int32) CompareAndSwap(old, new int32) bool + func (i *Int32) Load() int32 + func (i *Int32) Store(value int32) + func (i *Int32) Swap(new int32) int32 + type Int64 struct + func (i *Int64) Add(delta int64) int64 + func (i *Int64) CompareAndSwap(old, new int64) bool + func (i *Int64) Load() int64 + func (i *Int64) Store(value int64) + func (i *Int64) Swap(new int64) int64 + type Uint32 struct + func (u *Uint32) Add(delta int32) uint32 + func (u *Uint32) And(value uint32) + func (u *Uint32) CompareAndSwap(old, new uint32) bool + func (u *Uint32) CompareAndSwapRelease(old, new uint32) bool + func (u *Uint32) Load() uint32 + func (u *Uint32) LoadAcquire() uint32 + func (u *Uint32) Or(value uint32) + func (u *Uint32) Store(value uint32) + func (u *Uint32) StoreRelease(value uint32) + func (u *Uint32) Swap(value uint32) uint32 + type Uint64 struct + func (u *Uint64) Add(delta int64) uint64 + func (u *Uint64) CompareAndSwap(old, new uint64) bool + func (u *Uint64) Load() uint64 + func (u *Uint64) LoadAcquire() uint64 + func (u *Uint64) Store(value uint64) + func (u *Uint64) StoreRelease(value uint64) + func (u *Uint64) Swap(value uint64) uint64 + type Uint8 struct + func (u *Uint8) And(value uint8) + func (u *Uint8) Load() uint8 + func (u *Uint8) Or(value uint8) + func (u *Uint8) Store(value uint8) + type Uintptr struct + func (u *Uintptr) Add(delta uintptr) uintptr + func (u *Uintptr) CompareAndSwap(old, new uintptr) bool + func (u *Uintptr) Load() uintptr + func (u *Uintptr) LoadAcquire() uintptr + func (u *Uintptr) Store(value uintptr) + func (u *Uintptr) StoreRelease(value uintptr) + func (u *Uintptr) Swap(value uintptr) uintptr + type UnsafePointer struct + func (u *UnsafePointer) CompareAndSwapNoWB(old, new unsafe.Pointer) bool + func (u *UnsafePointer) Load() unsafe.Pointer + func (u *UnsafePointer) StoreNoWB(value unsafe.Pointer)