Click or drag to resize
Akka.NETAtomicBoolean Class
Implementation of the java.concurrent.util.AtomicBoolean type. Uses MemoryBarrier internally to enforce ordering of writes without any explicit locking. .NET's strong memory on write guarantees might already enforce this ordering, but the addition of the MemoryBarrier guarantees it.
Inheritance Hierarchy
SystemObject
  Akka.UtilAtomicBoolean

Namespace:  Akka.Util
Assembly:  Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntax
public class AtomicBoolean

The AtomicBoolean type exposes the following members.

Constructors
  NameDescription
Public methodAtomicBoolean
Sets the initial value of this AtomicBoolean to initialValue.
Top
Properties
Methods
  NameDescription
Public methodCompareAndSet
If Value equals expected, then set the Value to newValue.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetAndSet
Atomically sets the Value to newValue and returns the old Value.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Operators
Extension Methods
See Also