atomic

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AInt32

type AInt32 int32

func (*AInt32) Add

func (this *AInt32) Add(delta int32) int32

func (*AInt32) CAS

func (this *AInt32) CAS(old, new int32) bool

func (*AInt32) Load

func (this *AInt32) Load() int32

func (*AInt32) Store

func (this *AInt32) Store(val int32)

func (*AInt32) Sub added in v0.0.20

func (this *AInt32) Sub(delta int32) int32

func (*AInt32) Swap

func (this *AInt32) Swap(new int32) int32

type AInt64

type AInt64 int64

func (*AInt64) Add

func (this *AInt64) Add(delta int64) int64

func (*AInt64) CAS

func (this *AInt64) CAS(old, new int64) bool

func (*AInt64) Load

func (this *AInt64) Load() int64

func (*AInt64) Store

func (this *AInt64) Store(val int64)

func (*AInt64) Sub added in v0.0.20

func (this *AInt64) Sub(delta int64) int64

func (*AInt64) Swap

func (this *AInt64) Swap(new int64) int64

type AUint32

type AUint32 uint32

func (*AUint32) Add

func (this *AUint32) Add(delta uint32) uint32

func (*AUint32) CAS

func (this *AUint32) CAS(old, new uint32) bool

func (*AUint32) Load

func (this *AUint32) Load() uint32

func (*AUint32) Store

func (this *AUint32) Store(val uint32)

func (*AUint32) Sub added in v0.0.20

func (this *AUint32) Sub(delta uint32) uint32

func (*AUint32) Swap

func (this *AUint32) Swap(new uint32) uint32

type AUint64

type AUint64 uint64

func (*AUint64) Add

func (this *AUint64) Add(delta uint64) uint64

func (*AUint64) CAS

func (this *AUint64) CAS(old, new uint64) bool

func (*AUint64) Load

func (this *AUint64) Load() uint64

func (*AUint64) Store

func (this *AUint64) Store(val uint64)

func (*AUint64) Sub added in v0.0.20

func (this *AUint64) Sub(delta uint64) uint64

func (*AUint64) Swap

func (this *AUint64) Swap(new uint64) uint64

type AUintptr

type AUintptr uintptr

func (*AUintptr) Add

func (this *AUintptr) Add(delta uintptr) uintptr

func (*AUintptr) CAS

func (this *AUintptr) CAS(old, new uintptr) bool

func (*AUintptr) Load

func (this *AUintptr) Load() uintptr

func (*AUintptr) Store

func (this *AUintptr) Store(val uintptr)

func (*AUintptr) Sub added in v0.0.20

func (this *AUintptr) Sub(delta uintptr) uintptr

func (*AUintptr) Swap

func (this *AUintptr) Swap(new uintptr) uintptr

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL