Click or drag to resize

AtomicInteger Class

A integer that can be operatered on atomically.
Inheritance Hierarchy
SystemObject
  FM.IceLinkAtomicInteger

Namespace:  FM.IceLink
Assembly:  FM.IceLink (in FM.IceLink.dll) Version: 3.2.2.607 (3.2.2.607)

The AtomicInteger type exposes the following members.

Constructors
  NameDescription
Public methodAtomicInteger
Create a new AtomicInteger with a initial value of 0.
Public methodAtomicInteger(Int32)
Create a new AtomicInteger with an initial value.
Top
Properties
  NameDescription
Public propertyValue
The current value.
Top
Methods
  NameDescription
Public methodAdd
Atomically add a integer to the value.
Public methodCompareAndSwap
Compares two 32-bit signed integers for equality and, if they are equal, replaces one of the values.
Public methodDecrement
Atomically decrement the value by 1.
Public methodEquals (Inherited from Object.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodIncrement
Atomically increment the value by 1.
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSubtract
Atomically subtract a integer to the value.
Public methodToString (Inherited from Object.)
Top
See Also