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.ThreadingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public (T , T ) Modify(
Func<T, T> func
)
Parameters
- func FuncT, T
- The function.
Return Value
ValueTupleT,
TThe old value, and the new value.
See Also