| AtomicCounterCompareAndSet Method |
Compares current counter value with provided expected value,
and sets it to newValue if compared values where equal.
Returns true if replacement has succeed.
Namespace:
Akka.Util.Internal
Assembly:
Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax public bool CompareAndSet(
int expected,
int newValue
)
member CompareAndSet :
expected : int *
newValue : int -> bool
Parameters
- expected
- Type: SystemInt32
TBD - newValue
- Type: SystemInt32
TBD
Return Value
Type:
BooleanTBD
See Also