-
Notifications
You must be signed in to change notification settings - Fork 36
M_CodeJam_Threading_InterlockedOperations_Update_7
andrewvk edited this page Apr 20, 2016
·
6 revisions
[This is preliminary documentation and is subject to change.]
Implements lock-free update pattern implementation based on compare-and-swap loop
Namespace: CodeJam.Threading
Assembly: CodeJam (in CodeJam.dll) Version: 1.0.0.0 (1.0.0.0)
C#
public static float Update(
ref float value,
float newValue,
Func<float, float, float> updateCallback
)
VB
Public Shared Function Update (
ByRef value As Single,
newValue As Single,
updateCallback As Func(Of Single, Single, Single)
) As Single
F#
static member Update :
value : float32 byref *
newValue : float32 *
updateCallback : Func<float32, float32, float32> -> float32
- value
- Type: System.Single
[Missing documentation for "M:CodeJam.Threading.InterlockedOperations.Update(System.Single@,System.Single,System.Func{System.Single,System.Single,System.Single})"] - newValue
- Type: System.Single
[Missing documentation for "M:CodeJam.Threading.InterlockedOperations.Update(System.Single@,System.Single,System.Func{System.Single,System.Single,System.Single})"] - updateCallback
- Type: System.Func(Single, Single, Single)
[Missing documentation for "M:CodeJam.Threading.InterlockedOperations.Update(System.Single@,System.Single,System.Func{System.Single,System.Single,System.Single})"]
Type: Single
[Missing documentation for "M:CodeJam.Threading.InterlockedOperations.Update(System.Single@,System.Single,System.Func{System.Single,System.Single,System.Single})"]
Uses the same approach that used by c# compiler in event subscription methods
InterlockedOperations Class
Update Overload
CodeJam.Threading Namespace