This topic has not yet been rated - Rate this topic

Interlocked Methods

The Interlocked type exposes the following members.

  NameDescription
Public method Static member Add Overloaded. Adds two integers and replaces the first integer with the sum, as an atomic operation.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework CompareExchange Overloaded. Compares two values for equality and, if they are equal, replaces one of the values.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Decrement Overloaded. Decrements a specified variable and stores the result, as an atomic operation.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Exchange Overloaded. Sets a variable to a specified value as an atomic operation.
Public method Static member Supported by the .NET Compact Framework Supported by the XNA Framework Increment Overloaded. Increments a specified variable and stores the result, as an atomic operation.
Public method Static member Read Returns a 64-bit value, loaded as an atomic operation.
Top
Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.