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 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 Decrement Overloaded. Decrements a specified variable and stores the result, as an atomic operation.
Public method Supported by the .NET Compact Framework Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method Static Supported by the .NET Compact Framework Exchange Overloaded. Sets a variable to a specified value as an atomic operation.
Public method Supported by the .NET Compact Framework GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method Static Supported by the .NET Compact 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 ToString  Returns a String that represents the current Object. (Inherited from Object.)
Top

Community Additions

ADD
Show:
© 2014 Microsoft