Global

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island
  • Namespace: go.sync.atomic
  • Platforms: .NET, .NET Standard 2.0, Island

Methods


AddInt32

 

class method AddInt32(var addr: int32; delta: int32): int32

 

static int32 AddInt32(ref int32 addr, int32 delta)

 

static func AddInt32(_ addr: int32, _ delta: int32) -> int32

 

func AddInt32(addr int32, delta int32) int32

Parameters:

  • addr:
  • delta:

AddInt64

 

class method AddInt64(var addr: int64; delta: int64): int64

 

static int64 AddInt64(ref int64 addr, int64 delta)

 

static func AddInt64(_ addr: int64, _ delta: int64) -> int64

 

func AddInt64(addr int64, delta int64) int64

Parameters:

  • addr:
  • delta:

AddUint32

 

class method AddUint32(var addr: uint32; delta: uint32): uint32

 

static uint32 AddUint32(ref uint32 addr, uint32 delta)

 

static func AddUint32(_ addr: uint32, _ delta: uint32) -> uint32

 

func AddUint32(addr uint32, delta uint32) uint32

Parameters:

  • addr:
  • delta:

AddUint64

 

class method AddUint64(var addr: uint64; delta: uint64): uint64

 

static uint64 AddUint64(ref uint64 addr, uint64 delta)

 

static func AddUint64(_ addr: uint64, _ delta: uint64) -> uint64

 

func AddUint64(addr uint64, delta uint64) uint64

Parameters:

  • addr:
  • delta:

CompareAndSwapInt32

 

class method CompareAndSwapInt32(var addr: int32; aold: int32; anew: int32): bool

 

static bool CompareAndSwapInt32(ref int32 addr, int32 aold, int32 anew)

 

static func CompareAndSwapInt32(_ addr: int32, _ aold: int32, _ anew: int32) -> bool

 

func CompareAndSwapInt32(addr int32, aold int32, anew int32) bool

Parameters:

  • addr:
  • aold:
  • anew:

CompareAndSwapInt64

 

class method CompareAndSwapInt64(var addr: int64; aold: int64; anew: int64): bool

 

static bool CompareAndSwapInt64(ref int64 addr, int64 aold, int64 anew)

 

static func CompareAndSwapInt64(_ addr: int64, _ aold: int64, _ anew: int64) -> bool

 

func CompareAndSwapInt64(addr int64, aold int64, anew int64) bool

Parameters:

  • addr:
  • aold:
  • anew:

CompareAndSwapUint32

 

class method CompareAndSwapUint32(var addr: uint32; aold: uint32; anew: uint32): bool

 

static bool CompareAndSwapUint32(ref uint32 addr, uint32 aold, uint32 anew)

 

static func CompareAndSwapUint32(_ addr: uint32, _ aold: uint32, _ anew: uint32) -> bool

 

func CompareAndSwapUint32(addr uint32, aold uint32, anew uint32) bool

Parameters:

  • addr:
  • aold:
  • anew:

CompareAndSwapUint64

 

class method CompareAndSwapUint64(var addr: uint64; aold: uint64; anew: uint64): bool

 

static bool CompareAndSwapUint64(ref uint64 addr, uint64 aold, uint64 anew)

 

static func CompareAndSwapUint64(_ addr: uint64, _ aold: uint64, _ anew: uint64) -> bool

 

func CompareAndSwapUint64(addr uint64, aold uint64, anew uint64) bool

Parameters:

  • addr:
  • aold:
  • anew:

LoadInt32

 

class method LoadInt32(var addr: int32): int32

 

static int32 LoadInt32(ref int32 addr)

 

static func LoadInt32(_ addr: int32) -> int32

 

func LoadInt32(addr int32) int32

Parameters:

  • addr:

LoadInt64

 

class method LoadInt64(var addr: int64): int64

 

static int64 LoadInt64(ref int64 addr)

 

static func LoadInt64(_ addr: int64) -> int64

 

func LoadInt64(addr int64) int64

Parameters:

  • addr:

LoadInteger

 

class method LoadInteger(var addr: int): int

 

static int LoadInteger(ref int addr)

 

static func LoadInteger(_ addr: int) -> int

 

func LoadInteger(addr int) int

Parameters:

  • addr:

LoadUint32

 

class method LoadUint32(var addr: uint32): uint32

 

static uint32 LoadUint32(ref uint32 addr)

 

static func LoadUint32(_ addr: uint32) -> uint32

 

func LoadUint32(addr uint32) uint32

Parameters:

  • addr:

LoadUint64

 

class method LoadUint64(var addr: uint64): uint64

 

static uint64 LoadUint64(ref uint64 addr)

 

static func LoadUint64(_ addr: uint64) -> uint64

 

func LoadUint64(addr uint64) uint64

Parameters:

  • addr:

StoreInt32

 

class method StoreInt32(var addr: int32; val: int32)

 

static void StoreInt32(ref int32 addr, int32 val)

 

static func StoreInt32(_ addr: int32, _ val: int32)

 

func StoreInt32(addr int32, val int32)

Parameters:

  • addr:
  • val:

StoreInt64

 

class method StoreInt64(var addr: int64; val: int64)

 

static void StoreInt64(ref int64 addr, int64 val)

 

static func StoreInt64(_ addr: int64, _ val: int64)

 

func StoreInt64(addr int64, val int64)

Parameters:

  • addr:
  • val:

StoreInteger

 

class method StoreInteger(var addr: int; val: int)

 

static void StoreInteger(ref int addr, int val)

 

static func StoreInteger(_ addr: int, _ val: int)

 

func StoreInteger(addr int, val int)

Parameters:

  • addr:
  • val:

StoreUint32

 

class method StoreUint32(var addr: uint32; val: uint32)

 

static void StoreUint32(ref uint32 addr, uint32 val)

 

static func StoreUint32(_ addr: uint32, _ val: uint32)

 

func StoreUint32(addr uint32, val uint32)

Parameters:

  • addr:
  • val:

StoreUint64

 

class method StoreUint64(var addr: uint64; val: uint64)

 

static void StoreUint64(ref uint64 addr, uint64 val)

 

static func StoreUint64(_ addr: uint64, _ val: uint64)

 

func StoreUint64(addr uint64, val uint64)

Parameters:

  • addr:
  • val:

SwapInt32

 

class method SwapInt32(var addr: int64; anew: int64): int64

 

static int64 SwapInt32(ref int64 addr, int64 anew)

 

static func SwapInt32(_ addr: int64, _ anew: int64) -> int64

 

func SwapInt32(addr int64, anew int64) int64

Parameters:

  • addr:
  • anew:

SwapInt64

 

class method SwapInt64(var addr: int32; anew: int32): int32

 

static int32 SwapInt64(ref int32 addr, int32 anew)

 

static func SwapInt64(_ addr: int32, _ anew: int32) -> int32

 

func SwapInt64(addr int32, anew int32) int32

Parameters:

  • addr:
  • anew:

SwapUint32

 

class method SwapUint32(var addr: uint32; anew: uint32): uint32

 

static uint32 SwapUint32(ref uint32 addr, uint32 anew)

 

static func SwapUint32(_ addr: uint32, _ anew: uint32) -> uint32

 

func SwapUint32(addr uint32, anew uint32) uint32

Parameters:

  • addr:
  • anew:

SwapUint64

 

class method SwapUint64(var addr: uint64; anew: uint64): uint64

 

static uint64 SwapUint64(ref uint64 addr, uint64 anew)

 

static func SwapUint64(_ addr: uint64, _ anew: uint64) -> uint64

 

func SwapUint64(addr uint64, anew uint64) uint64

Parameters:

  • addr:
  • anew: