Mono Class Library: System.Threading.Interlocked Overview | Members

System.Threading.Interlocked.Exchange Method

Sets a float variable to a specified value as an atomic operation and returns the original value. [Edit]

public static float Exchange (ref float location1, float value)

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

Documentation for this section has not yet been entered. [Edit]

Requirements

Namespace: System.Threading
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0