Click or drag to resize
Akka.NETAtomicCounterCompareAndSet 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
)

Parameters

expected
Type: SystemInt32
TBD
newValue
Type: SystemInt32
TBD

Return Value

Type: Boolean
TBD
See Also