Click or drag to resize

InterlockableTModify Method

Modifies the value, by using the provided function. Since the function is executed in the locked state, execution must be kept short!

Namespace: Altaxo.Threading
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public (T , T ) Modify(
	Func<T, T> func
)

Parameters

func  FuncT, T
The function.

Return Value

ValueTupleT, T
The old value, and the new value.
See Also