Interlocked Methods
Silverlight
| Name | Description | |
|---|---|---|
|
Add(Int32, Int32) | Adds two 32-bit integers and replaces the first integer with the sum, as an atomic operation. |
|
Add(Int64, Int64) | Adds two 64-bit integers and replaces the first integer with the sum, as an atomic operation. |
|
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(Object, Object, Object) | Compares two objects for reference equality and, if they are equal, replaces one of the objects. |
|
CompareExchange<T>(T, T, T) | Compares two instances of the specified reference type T for equality and, if they are equal, replaces one of them. |
|
Decrement(Int32) | Decrements a specified 32-bit signed integer variable and stores the result, as an atomic operation. |
|
Decrement(Int64) | Decrements the specified 64-bit signed integer variable and stores the result, as an atomic operation. |
|
Exchange(Int32, Int32) | Sets a 32-bit signed integer to a specified value and returns the original value, as an atomic operation. |
|
Exchange(Int64, Int64) | Sets a 64-bit signed integer to a specified value and returns the original value, as an atomic operation. |
|
Exchange<T>(T, T) | Sets a variable of the specified type T to a specified value and returns the original value, as an atomic operation. |
|
Increment(Int32) | Increments a specified 32-bit signed variable and stores the result, as an atomic operation. |
|
Increment(Int64) | Increments a specified 64-bit signed integer variable and stores the result, as an atomic operation. |