C# Class System.Threading.ClientInterlocked

显示文件 Open project: dreamanlan/CSharpGameFramework Class Usage Examples

Public Methods

Method Description
Add ( int &location, int value ) : int
Add ( long &location, long value ) : long
CompareExchange ( IntPtr &location, IntPtr value, IntPtr comparand ) : IntPtr
CompareExchange ( double &location, double value, double comparand ) : double
CompareExchange ( float &location, float value, float comparand ) : float
CompareExchange ( int &location, int value, int comparand ) : int
CompareExchange ( long &location, long value, long comparand ) : long
CompareExchange ( object &location, object value, object comparand ) : object
Decrement ( int &location ) : int
Decrement ( long &location ) : long
Exchange ( IntPtr &location, IntPtr value ) : IntPtr
Exchange ( double &location, double value ) : double
Exchange ( float &location, float value ) : float
Exchange ( int &location, int value ) : int
Exchange ( long &location, long value ) : long
Exchange ( object &location, object value ) : object
Increment ( int &location ) : int
Increment ( long &location ) : long
Read ( long &location ) : long

Method Details

Add() public static method

public static Add ( int &location, int value ) : int
location int
value int
return int

Add() public static method

public static Add ( long &location, long value ) : long
location long
value long
return long

CompareExchange() public static method

public static CompareExchange ( IntPtr &location, IntPtr value, IntPtr comparand ) : IntPtr
location System.IntPtr
value System.IntPtr
comparand System.IntPtr
return System.IntPtr

CompareExchange() public static method

public static CompareExchange ( double &location, double value, double comparand ) : double
location double
value double
comparand double
return double

CompareExchange() public static method

public static CompareExchange ( float &location, float value, float comparand ) : float
location float
value float
comparand float
return float

CompareExchange() public static method

public static CompareExchange ( int &location, int value, int comparand ) : int
location int
value int
comparand int
return int

CompareExchange() public static method

public static CompareExchange ( long &location, long value, long comparand ) : long
location long
value long
comparand long
return long

CompareExchange() public static method

public static CompareExchange ( object &location, object value, object comparand ) : object
location object
value object
comparand object
return object

Decrement() public static method

public static Decrement ( int &location ) : int
location int
return int

Decrement() public static method

public static Decrement ( long &location ) : long
location long
return long

Exchange() public static method

public static Exchange ( IntPtr &location, IntPtr value ) : IntPtr
location System.IntPtr
value System.IntPtr
return System.IntPtr

Exchange() public static method

public static Exchange ( double &location, double value ) : double
location double
value double
return double

Exchange() public static method

public static Exchange ( float &location, float value ) : float
location float
value float
return float

Exchange() public static method

public static Exchange ( int &location, int value ) : int
location int
value int
return int

Exchange() public static method

public static Exchange ( long &location, long value ) : long
location long
value long
return long

Exchange() public static method

public static Exchange ( object &location, object value ) : object
location object
value object
return object

Increment() public static method

public static Increment ( int &location ) : int
location int
return int

Increment() public static method

public static Increment ( long &location ) : long
location long
return long

Read() public static method

public static Read ( long &location ) : long
location long
return long