Sets a float variable to a specified value as an atomic
operation and returns the original value.
[Edit]
Parameters
- location1
- A float variable to set to the supplied value as an atomic operation.
[Edit]
- value
- The float value to which location1 is set.
[Edit]
Returns
A float containing the value of location1
before the exchange.
[Edit]
Remarks
Requirements
Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0