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(addr: Memory<Int32>; delta: int32): int32

 

static int32 AddInt32(Memory<Int32> addr, int32 delta)

 

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

 

func AddInt32(addr Memory<Int32>, delta int32) int32

 

Shared Function AddInt32(addr As Memory<Int32>, delta As int32) As int32

Parameters:

  • addr:
  • delta:

AddInt64

 

class method AddInt64(addr: Memory<int64>; delta: int64): int64

 

static int64 AddInt64(Memory<int64> addr, int64 delta)

 

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

 

func AddInt64(addr Memory<int64>, delta int64) int64

 

Shared Function AddInt64(addr As Memory<int64>, delta As int64) As int64

Parameters:

  • addr:
  • delta:

AddUint32

 

class method AddUint32(addr: Memory<UInt32>; delta: uint32): uint32

 

static uint32 AddUint32(Memory<UInt32> addr, uint32 delta)

 

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

 

func AddUint32(addr Memory<UInt32>, delta uint32) uint32

 

Shared Function AddUint32(addr As Memory<UInt32>, delta As uint32) As uint32

Parameters:

  • addr:
  • delta:

AddUint64

 

class method AddUint64(addr: Memory<uint64>; delta: uint64): uint64

 

static uint64 AddUint64(Memory<uint64> addr, uint64 delta)

 

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

 

func AddUint64(addr Memory<uint64>, delta uint64) uint64

 

Shared Function AddUint64(addr As Memory<uint64>, delta As uint64) As uint64

Parameters:

  • addr:
  • delta:

CompareAndSwapInt32

 

class method CompareAndSwapInt32(addr: Memory<Int32>; aold: int32; anew: int32): bool

 

static bool CompareAndSwapInt32(Memory<Int32> addr, int32 aold, int32 anew)

 

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

 

func CompareAndSwapInt32(addr Memory<Int32>, aold int32, anew int32) bool

 

Shared Function CompareAndSwapInt32(addr As Memory<Int32>, aold As int32, anew As int32) As bool

Parameters:

  • addr:
  • aold:
  • anew:

CompareAndSwapInt64

 

class method CompareAndSwapInt64(addr: Memory<int64>; aold: int64; anew: int64): bool

 

static bool CompareAndSwapInt64(Memory<int64> addr, int64 aold, int64 anew)

 

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

 

func CompareAndSwapInt64(addr Memory<int64>, aold int64, anew int64) bool

 

Shared Function CompareAndSwapInt64(addr As Memory<int64>, aold As int64, anew As int64) As bool

Parameters:

  • addr:
  • aold:
  • anew:

CompareAndSwapUint32

 

class method CompareAndSwapUint32(addr: Memory<UInt32>; aold: uint32; anew: uint32): bool

 

static bool CompareAndSwapUint32(Memory<UInt32> addr, uint32 aold, uint32 anew)

 

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

 

func CompareAndSwapUint32(addr Memory<UInt32>, aold uint32, anew uint32) bool

 

Shared Function CompareAndSwapUint32(addr As Memory<UInt32>, aold As uint32, anew As uint32) As bool

Parameters:

  • addr:
  • aold:
  • anew:

CompareAndSwapUint64

 

class method CompareAndSwapUint64(addr: Memory<uint64>; aold: uint64; anew: uint64): bool

 

static bool CompareAndSwapUint64(Memory<uint64> addr, uint64 aold, uint64 anew)

 

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

 

func CompareAndSwapUint64(addr Memory<uint64>, aold uint64, anew uint64) bool

 

Shared Function CompareAndSwapUint64(addr As Memory<uint64>, aold As uint64, anew As uint64) As bool

Parameters:

  • addr:
  • aold:
  • anew:

LoadInt32

 

class method LoadInt32(addr: Memory<Int32>): int32

 

static int32 LoadInt32(Memory<Int32> addr)

 

static func LoadInt32(_ addr: Memory<Int32>) -> int32

 

func LoadInt32(addr Memory<Int32>) int32

 

Shared Function LoadInt32(addr As Memory<Int32>) As int32

Parameters:

  • addr:

LoadInt64

 

class method LoadInt64(addr: Memory<int64>): int64

 

static int64 LoadInt64(Memory<int64> addr)

 

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

 

func LoadInt64(addr Memory<int64>) int64

 

Shared Function LoadInt64(addr As Memory<int64>) As int64

Parameters:

  • addr:

LoadInteger

 

class method LoadInteger(addr: Memory<Int64>): int

 

static int LoadInteger(Memory<Int64> addr)

 

static func LoadInteger(_ addr: Memory<Int64>) -> int

 

func LoadInteger(addr Memory<Int64>) int

 

Shared Function LoadInteger(addr As Memory<Int64>) As int

Parameters:

  • addr:

LoadUint32

 

class method LoadUint32(addr: Memory<UInt32>): uint32

 

static uint32 LoadUint32(Memory<UInt32> addr)

 

static func LoadUint32(_ addr: Memory<UInt32>) -> uint32

 

func LoadUint32(addr Memory<UInt32>) uint32

 

Shared Function LoadUint32(addr As Memory<UInt32>) As uint32

Parameters:

  • addr:

LoadUint64

 

class method LoadUint64(addr: Memory<uint64>): uint64

 

static uint64 LoadUint64(Memory<uint64> addr)

 

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

 

func LoadUint64(addr Memory<uint64>) uint64

 

Shared Function LoadUint64(addr As Memory<uint64>) As uint64

Parameters:

  • addr:

StoreInt32

 

class method StoreInt32(addr: Memory<Int32>; val: int32)

 

static void StoreInt32(Memory<Int32> addr, int32 val)

 

static func StoreInt32(_ addr: Memory<Int32>, _ val: int32)

 

// .NET, .NET Standard 2.0
func StoreInt32(addr Memory<Int32>, val int32) 
// Island
func StoreInt32(addr Memory<Int32>, val int32) void

 

Shared Sub StoreInt32(addr As Memory<Int32>, val As int32)

Parameters:

  • addr:
  • val:

StoreInt64

 

class method StoreInt64(addr: Memory<int64>; val: int64)

 

static void StoreInt64(Memory<int64> addr, int64 val)

 

static func StoreInt64(_ addr: Memory<int64>, _ val: int64)

 

// .NET, .NET Standard 2.0
func StoreInt64(addr Memory<int64>, val int64) 
// Island
func StoreInt64(addr Memory<int64>, val int64) void

 

Shared Sub StoreInt64(addr As Memory<int64>, val As int64)

Parameters:

  • addr:
  • val:

StoreInteger

 

class method StoreInteger(addr: Memory<Int64>; val: int)

 

static void StoreInteger(Memory<Int64> addr, int val)

 

static func StoreInteger(_ addr: Memory<Int64>, _ val: int)

 

// .NET, .NET Standard 2.0
func StoreInteger(addr Memory<Int64>, val int) 
// Island
func StoreInteger(addr Memory<Int64>, val int) void

 

Shared Sub StoreInteger(addr As Memory<Int64>, val As int)

Parameters:

  • addr:
  • val:

StoreUint32

 

class method StoreUint32(addr: Memory<UInt32>; val: uint32)

 

static void StoreUint32(Memory<UInt32> addr, uint32 val)

 

static func StoreUint32(_ addr: Memory<UInt32>, _ val: uint32)

 

// .NET, .NET Standard 2.0
func StoreUint32(addr Memory<UInt32>, val uint32) 
// Island
func StoreUint32(addr Memory<UInt32>, val uint32) void

 

Shared Sub StoreUint32(addr As Memory<UInt32>, val As uint32)

Parameters:

  • addr:
  • val:

StoreUint64

 

class method StoreUint64(addr: Memory<uint64>; val: uint64)

 

static void StoreUint64(Memory<uint64> addr, uint64 val)

 

static func StoreUint64(_ addr: Memory<uint64>, _ val: uint64)

 

// .NET, .NET Standard 2.0
func StoreUint64(addr Memory<uint64>, val uint64) 
// Island
func StoreUint64(addr Memory<uint64>, val uint64) void

 

Shared Sub StoreUint64(addr As Memory<uint64>, val As uint64)

Parameters:

  • addr:
  • val:

SwapInt32

 

class method SwapInt32(addr: Memory<int64>; anew: int64): int64

 

static int64 SwapInt32(Memory<int64> addr, int64 anew)

 

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

 

func SwapInt32(addr Memory<int64>, anew int64) int64

 

Shared Function SwapInt32(addr As Memory<int64>, anew As int64) As int64

Parameters:

  • addr:
  • anew:

SwapInt64

 

class method SwapInt64(addr: Memory<Int32>; anew: int32): int32

 

static int32 SwapInt64(Memory<Int32> addr, int32 anew)

 

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

 

func SwapInt64(addr Memory<Int32>, anew int32) int32

 

Shared Function SwapInt64(addr As Memory<Int32>, anew As int32) As int32

Parameters:

  • addr:
  • anew:

SwapUint32

 

class method SwapUint32(addr: Memory<UInt32>; anew: uint32): uint32

 

static uint32 SwapUint32(Memory<UInt32> addr, uint32 anew)

 

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

 

func SwapUint32(addr Memory<UInt32>, anew uint32) uint32

 

Shared Function SwapUint32(addr As Memory<UInt32>, anew As uint32) As uint32

Parameters:

  • addr:
  • anew:

SwapUint64

 

class method SwapUint64(addr: Memory<uint64>; anew: uint64): uint64

 

static uint64 SwapUint64(Memory<uint64> addr, uint64 anew)

 

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

 

func SwapUint64(addr Memory<uint64>, anew uint64) uint64

 

Shared Function SwapUint64(addr As Memory<uint64>, anew As uint64) As uint64

Parameters:

  • addr:
  • anew: