Click or drag to resize
Accord.NET (logo)

InterlockedExIncrement Method

Increments a specified variable and stores the result, as an atomic operation.

Namespace:  Accord
Assembly:  Accord (in Accord.dll) Version: 3.8.0
Syntax
public static double Increment(
	ref double location1
)
Request Example View Source

Parameters

location1
Type: SystemDouble
The variable to be incremented.

Return Value

Type: Double
The updated value of the variable.
See Also