Export (0) Print
Expand All

Interlocked Members

Provides atomic operations for variables that are shared by multiple threads.

The following tables list the members exposed by the Interlocked type.

  Name Description
Public method Static Add Overloaded. Adds two integers and replaces the first integer with the sum, as an atomic operation.
Public method Static 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 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 Supported by the .NET Compact Framework Supported by the XNA Framework Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static 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 Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static 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 Read Returns a 64-bit value, loaded as an atomic operation.
Public method Static Supported by the .NET Compact Framework ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString  Returns a String that represents the current Object. (inherited from Object)
Top

Community Additions

ADD
Show:
© 2014 Microsoft