Click or drag to resize

InterlockedCompareExchange Method

Overload List
 NameDescription
Public methodStatic memberCompareExchange(Int32, Int32, Int32) Compares two 32-bit signed integers for equality and, if they are equal,replaces one of the values.
Public methodStatic memberCompareExchange(Object, Object, Object) Compares two objects for reference equality and, if they are equal, replaces one of the objects
Public methodStatic memberCompareExchangeT(T, T, T) Compares two instances of the specified reference type T for equality and,if they are equal, replaces one of them.
Top
See Also