# Functions
AddInt32 atomically adds delta to *addr and returns the new value.
AddInt64 atomically adds delta to *addr and returns the new value.
AddUint32 atomically adds delta to *addr and returns the new value.
AddUint64 atomically adds delta to *addr and returns the new value.
AddUintptr atomically adds delta to *addr and returns the new value.
AndInt32 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask and returns the old value.
AndInt64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask and returns the old value.
AndUint32 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask and returns the old value.
AndUint64 atomically performs a bitwise AND operation on *addr using the bitmask provided as mask and returns the old.
AndUintptr atomically performs a bitwise AND operation on *addr using the bitmask provided as mask and returns the old value.
CompareAndSwapInt32 executes the compare-and-swap operation for an int32 value.
CompareAndSwapInt64 executes the compare-and-swap operation for an int64 value.
CompareAndSwapPointer executes the compare-and-swap operation for a unsafe.Pointer value.
CompareAndSwapUint32 executes the compare-and-swap operation for a uint32 value.
CompareAndSwapUint64 executes the compare-and-swap operation for a uint64 value.
CompareAndSwapUintptr executes the compare-and-swap operation for a uintptr value.
LoadInt32 atomically loads *addr.
LoadInt64 atomically loads *addr.
LoadPointer atomically loads *addr.
LoadUint32 atomically loads *addr.
LoadUint64 atomically loads *addr.
LoadUintptr atomically loads *addr.
OrInt32 atomically performs a bitwise OR operation on *addr using the bitmask provided as mask and returns the old value.
OrInt64 atomically performs a bitwise OR operation on *addr using the bitmask provided as mask and returns the old value.
OrUint32 atomically performs a bitwise OR operation on *addr using the bitmask provided as mask and returns the old value.
OrUint64 atomically performs a bitwise OR operation on *addr using the bitmask provided as mask and returns the old value.
OrUintptr atomically performs a bitwise OR operation on *addr using the bitmask provided as mask and returns the old value.
StoreInt32 atomically stores val into *addr.
StoreInt64 atomically stores val into *addr.
StorePointer atomically stores val into *addr.
StoreUint32 atomically stores val into *addr.
StoreUint64 atomically stores val into *addr.
StoreUintptr atomically stores val into *addr.
SwapInt32 atomically stores new into *addr and returns the previous *addr value.
SwapInt64 atomically stores new into *addr and returns the previous *addr value.
SwapPointer atomically stores new into *addr and returns the previous *addr value.
SwapUint32 atomically stores new into *addr and returns the previous *addr value.
SwapUint64 atomically stores new into *addr and returns the previous *addr value.
SwapUintptr atomically stores new into *addr and returns the previous *addr value.
# Structs
A Bool is an atomic boolean value.
An Int32 is an atomic int32.
An Int64 is an atomic int64.
A Pointer is an atomic pointer of type *T.
A Uint32 is an atomic uint32.
A Uint64 is an atomic uint64.
A Uintptr is an atomic uintptr.
A Value provides an atomic load and store of a consistently typed value.