Skip to content

Overload_CodeJam_Threading_InterlockedOperations_Initialize

Andrew Koryavchenko edited this page Jul 4, 2017 · 4 revisions

InterlockedOperations.Initialize Method

Overload List

 

Name Description
Public methodStatic member Initialize(Double, Double) Initialize the value referenced by target in a thread-safe manner. The value is changed to value only if the current value is default(double).
Public methodStatic member Initialize(Int32, Int32) Initialize the value referenced by target in a thread-safe manner. The value is changed to value only if the current value is default(int).
Public methodStatic member Initialize(Int64, Int64) Initialize the value referenced by target in a thread-safe manner. The value is changed to value only if the current value is default(long).
Public methodStatic member Initialize(Single, Single) Initialize the value referenced by target in a thread-safe manner. The value is changed to value only if the current value is default(float).
Public methodStatic member Initialize(T)(T, T) Initialize the value referenced by target in a thread-safe manner. The value is changed to value only if the current value is default(T).
Public methodStatic member Initialize(Double, Double, Double) Initialize the value referenced by target in a thread-safe manner. The value is changed to initializedValue only if the current value is uninitializedValue.
Public methodStatic member Initialize(Int32, Int32, Int32) Initialize the value referenced by target in a thread-safe manner. The value is changed to initializedValue only if the current value is uninitializedValue.
Public methodStatic member Initialize(Int64, Int64, Int64) Initialize the value referenced by target in a thread-safe manner. The value is changed to initializedValue only if the current value is uninitializedValue.
Public methodStatic member Initialize(Single, Single, Single) Initialize the value referenced by target in a thread-safe manner. The value is changed to initializedValue only if the current value is uninitializedValue.
Public methodStatic member Initialize(T)(T, T, T) Initialize the value referenced by target in a thread-safe manner. The value is changed to initializedValue only if the current value is uninitializedValue.
  Back to Top

See Also

Reference

InterlockedOperations Class
CodeJam.Threading Namespace

Clone this wiki locally