ILGPU  0.9.0
ILGPU.AtomicOperations.CompareExchangeInt64 Struct Reference

Represents an atomic compare-exchange operation of type long. More...

Inheritance diagram for ILGPU.AtomicOperations.CompareExchangeInt64:
ILGPU.AtomicOperations.ICompareExchangeOperation< long >

Public Member Functions

long CompareExchange (ref long target, long compare, long value)
 Realizes an atomic compare-exchange operation. More...
 
- Public Member Functions inherited from ILGPU.AtomicOperations.ICompareExchangeOperation< long >
CompareExchange (ref T target, T compare, T value)
 Realizes an atomic compare-exchange operation. More...
 

Detailed Description

Represents an atomic compare-exchange operation of type long.

Member Function Documentation

long ILGPU.AtomicOperations.CompareExchangeInt64.CompareExchange ( ref long  target,
long  compare,
long  value 
)

Realizes an atomic compare-exchange operation.

Parameters
targetThe target location.
compareThe expected comparison value.
valueThe target value.
Returns
The old value.

The documentation for this struct was generated from the following file: