메소드 | 설명 | |
---|---|---|
CompareExchange ( ulong value, ulong comparand ) : ulong |
Compares the type's value with comparand for equality, and if they're equal, replaces the value with value
|
|
Create ( ) : |
Creates a new value starting at 0
|
|
Decrement ( ) : void |
Decrements the value
|
|
DecrementAndReturn ( ) : ulong |
Decrements the value
|
|
Exchange ( ulong value ) : ulong |
Sets a specified value and returns the original value, as an atomic operation
|
|
Increment ( ) : void |
Increments the value
|
|
IncrementAndReturn ( ) : ulong |
Increments the value
|
|
SetAndReturn ( ulong value ) : ulong |
Sets the value
|
메소드 | 설명 | |
---|---|---|
Calculate ( ulong value ) : long | ||
Calculate ( long value ) : ulong | ||
Get ( ) : long | ||
Set ( long value ) : long |
public CompareExchange ( ulong value, ulong comparand ) : ulong | ||
value | ulong | the replacement value |
comparand | ulong | the value to compare against |
리턴 | ulong |
public SetAndReturn ( ulong value ) : ulong | ||
value | ulong | the new value |
리턴 | ulong |