Class InterlockedImpl
Inheritance
System.Object
InterlockedImpl
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Cosmos.Core_Plugs.dll
Syntax
public static class InterlockedImpl
Methods
|
Improve this Doc
View Source
CompareExchange(ref Int32, Int32, Int32)
Declaration
public static int CompareExchange(ref int location1, int value, int comparand)
Parameters
Type |
Name |
Description |
System.Int32 |
location1 |
|
System.Int32 |
value |
|
System.Int32 |
comparand |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CompareExchange(ref Int64, Int64, Int64)
Declaration
public static long CompareExchange(ref long location1, long value, long comparand)
Parameters
Type |
Name |
Description |
System.Int64 |
location1 |
|
System.Int64 |
value |
|
System.Int64 |
comparand |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
CompareExchange(ref Object, Object, Object)
Declaration
public static object CompareExchange(ref object location1, object value, object comparand)
Parameters
Type |
Name |
Description |
System.Object |
location1 |
|
System.Object |
value |
|
System.Object |
comparand |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
Decrement(ref Int32)
Declaration
public static int Decrement(ref int aData)
Parameters
Type |
Name |
Description |
System.Int32 |
aData |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Exchange(ref Int32, Int32)
Declaration
public static int Exchange(ref int location1, int value)
Parameters
Type |
Name |
Description |
System.Int32 |
location1 |
|
System.Int32 |
value |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Exchange(ref Int64, Int64)
Declaration
public static long Exchange(ref long aLocation1, long aValue)
Parameters
Type |
Name |
Description |
System.Int64 |
aLocation1 |
|
System.Int64 |
aValue |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
Exchange(ref IntPtr, IntPtr)
Declaration
public static IntPtr Exchange(ref IntPtr aLocation, IntPtr aValue)
Parameters
Type |
Name |
Description |
System.IntPtr |
aLocation |
|
System.IntPtr |
aValue |
|
Returns
Type |
Description |
System.IntPtr |
|
|
Improve this Doc
View Source
Exchange(ref Object, Object)
Declaration
public static object Exchange(ref object aObject, object aValue)
Parameters
Type |
Name |
Description |
System.Object |
aObject |
|
System.Object |
aValue |
|
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
ExchangeAdd(ref Int32, Int32)
Declaration
public static int ExchangeAdd(ref int aLocation, int aValue)
Parameters
Type |
Name |
Description |
System.Int32 |
aLocation |
|
System.Int32 |
aValue |
|
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
ExchangeAdd(ref Int64, Int64)
Declaration
public static long ExchangeAdd(ref long aLocation, long aValue)
Parameters
Type |
Name |
Description |
System.Int64 |
aLocation |
|
System.Int64 |
aValue |
|
Returns
Type |
Description |
System.Int64 |
|
|
Improve this Doc
View Source
MemoryBarrier()
Declaration
public static void MemoryBarrier()