Interlocked Class |
Namespace: System.Threading
public static class Interlocked
Name | Description | |
---|---|---|
![]() ![]() | CompareExchange(Double, Double, Double) | Compares two double-precision floating point numbers for equality and, if they are equal, replaces one of the values. |
![]() ![]() | CompareExchange(Int32, Int32, Int32) | Compares two 32-bit signed integers for equality and, if they are equal, replaces one of the values. |
![]() ![]() | CompareExchange(Int64, Int64, Int64) | Compares two 64-bit signed integers for equality and, if they are equal, replaces one of the values. |
![]() ![]() | CompareExchange(IntPtr, IntPtr, IntPtr) | Compares two platform-specific handles or pointers for equality and, if they are equal, replaces one of them. |
![]() ![]() | CompareExchange(Object, Object, Object) | Compares two objects for reference equality and, if they are equal, replaces one of the objects. |
![]() ![]() | CompareExchange(Single, Single, Single) | Compares two single-precision floating point numbers for equality and, if they are equal, replaces one of the values. |
![]() ![]() | CompareExchangeT(T, T, T) | Compares two instances of the specified reference type T for equality and, if they are equal, replaces one of them. |