Delegate Atomic<T>.Accumulator
Represents atomic accumulator.
Namespace: DotNext.Threading
Assembly: DotNext.dll
Syntax
public delegate void Atomic<T>.Accumulator(ref T current, in T x)
Parameters
Type | Name | Description |
---|---|---|
T | current | The value to update. |
T | x | The value to be combined with |
Remarks
The atomic accumulator should side-effect free.