Documentation ¶
Index ¶
- func AddInt32(addr *int32, delta int32) int32
- func AddInt64(addr *AlignedInt64, delta int64) int64
- func AddUint32(addr *uint32, delta uint32) uint32
- func AddUint64(addr *AlignedUint64, delta uint64) uint64
- func AddUintptr(addr *uintptr, delta uintptr) uintptr
- func CompareAndSwapInt32(addr *int32, old, new int32) bool
- func CompareAndSwapInt64(addr *AlignedInt64, old, new int64) bool
- func CompareAndSwapPointer(addr *unsafe.Pointer, old, new unsafe.Pointer) bool
- func CompareAndSwapUint32(addr *uint32, old, new uint32) bool
- func CompareAndSwapUint64(addr *AlignedUint64, old, new uint64) bool
- func CompareAndSwapUintptr(addr *uintptr, old, new uintptr) bool
- func DumpOnSignal()
- func HideConsole(_ bool)
- func LoadInt32(addr *int32) int32
- func LoadInt64(addr *AlignedInt64) int64
- func LoadPointer(addr *unsafe.Pointer) unsafe.Pointer
- func LoadUint32(addr *uint32) uint32
- func LoadUint64(addr *AlignedUint64) uint64
- func LoadUintptr(addr *uintptr) uintptr
- func StoreInt32(addr *int32, val int32)
- func StoreInt64(addr *AlignedInt64, val int64)
- func StorePointer(addr *unsafe.Pointer, val unsafe.Pointer)
- func StoreUint32(addr *uint32, val uint32)
- func StoreUint64(addr *AlignedUint64, val uint64)
- func StoreUintptr(addr *uintptr, val uintptr)
- func SwapInt32(addr *int32, new int32) int32
- func SwapInt64(addr *AlignedInt64, new int64) int64
- func SwapPointer(addr *unsafe.Pointer, new unsafe.Pointer) unsafe.Pointer
- func SwapUint32(addr *uint32, new uint32) uint32
- func SwapUint64(addr *AlignedUint64, new uint64) uint64
- func SwapUintptr(addr *uintptr, new uintptr) uintptr
- type AlignedInt64
- type AlignedUint64
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddInt64 ¶
func AddInt64(addr *AlignedInt64, delta int64) int64
func AddUint64 ¶
func AddUint64(addr *AlignedUint64, delta uint64) uint64
func AddUintptr ¶
func CompareAndSwapInt32 ¶
func CompareAndSwapInt64 ¶
func CompareAndSwapInt64(addr *AlignedInt64, old, new int64) bool
func CompareAndSwapPointer ¶
func CompareAndSwapUint32 ¶
func CompareAndSwapUint64 ¶
func CompareAndSwapUint64(addr *AlignedUint64, old, new uint64) bool
func CompareAndSwapUintptr ¶
func DumpOnSignal ¶
func DumpOnSignal()
func HideConsole ¶
func HideConsole(_ bool)
func LoadInt64 ¶
func LoadInt64(addr *AlignedInt64) int64
func LoadUint32 ¶
func LoadUint64 ¶
func LoadUint64(addr *AlignedUint64) uint64
func LoadUintptr ¶
func StoreInt32 ¶
func StoreInt64 ¶
func StoreInt64(addr *AlignedInt64, val int64)
func StoreUint32 ¶
func StoreUint64 ¶
func StoreUint64(addr *AlignedUint64, val uint64)
func StoreUintptr ¶
func SwapInt64 ¶
func SwapInt64(addr *AlignedInt64, new int64) int64
func SwapUint32 ¶
func SwapUint64 ¶
func SwapUint64(addr *AlignedUint64, new uint64) uint64
func SwapUintptr ¶
Types ¶
type AlignedInt64 ¶
type AlignedInt64 int64
func NewAlignedInt64 ¶
func NewAlignedInt64(v int64) AlignedInt64
type AlignedUint64 ¶
type AlignedUint64 uint64
func NewAlignedUint64 ¶
func NewAlignedUint64(v uint64) AlignedUint64
Click to show internal directories.
Click to hide internal directories.