InterlockableTModify Method |
Modifies the value by using the provided function. Since the function is executed while
the value is locked, execution must be kept short.
Namespace: Altaxo.ThreadingAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntaxpublic (T , T ) Modify(
Func<T, T> func
)
Parameters
- func FuncT, T
- The function to compute the new value from the old value.
Return Value
ValueTupleT,
TThe old value and the new value.
See Also