Click or drag to resize
AtomicBooleanCompareAndSet Method
If Value equals [!:expected], then set the Value to [!:newValue]. Returns true if [!:newValue] was set, false otherise.

Namespace: Akka.Util
Assembly: Akka (in Akka.dll) Version: 0.8.0.0 (0.8.0.0)
Syntax
public bool CompareAndSet(
	bool expected,
	bool newValue
)

Parameters

expected
Type: SystemBoolean

[Missing <param name="expected"/> documentation for "M:Akka.Util.AtomicBoolean.CompareAndSet(System.Boolean,System.Boolean)"]

newValue
Type: SystemBoolean

[Missing <param name="newValue"/> documentation for "M:Akka.Util.AtomicBoolean.CompareAndSet(System.Boolean,System.Boolean)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Akka.Util.AtomicBoolean.CompareAndSet(System.Boolean,System.Boolean)"]

See Also