Interlocked
Add(Int32, Int32)
Add(Int64, Int64)
Add(UInt32, UInt32)
Add(UInt64, UInt64)
And(Int32, Int32)
And(Int64, Int64)
And(UInt32, UInt32)
And(UInt64, UInt64)
CompareExchange(Byte, Byte, Byte)
CompareExchange(Double, Double, Double)
CompareExchange(Int16, Int16, Int16)
CompareExchange(Int32, Int32, Int32)
CompareExchange(Int64, Int64, Int64)
CompareExchange(IntPtr, IntPtr, IntPtr)
CompareExchange(nuint, nuint, nuint)
CompareExchange(Object, Object, Object)
CompareExchange(SByte, SByte, SByte)
CompareExchange(Single, Single, Single)
CompareExchange(UInt16, UInt16, UInt16)
CompareExchange(UInt32, UInt32, UInt32)
CompareExchange(UInt64, UInt64, UInt64)
CompareExchange<T>(T, T, T)
Decrement(Int32)
Decrement(Int64)
Decrement(UInt32)
Decrement(UInt64)
Exchange(Byte, Byte)
Exchange(Double, Double)
Exchange(Int16, Int16)
Exchange(Int32, Int32)
Exchange(Int64, Int64)
Exchange(IntPtr, IntPtr)
Exchange(nuint, nuint)
Exchange(Object, Object)
Exchange(SByte, SByte)
Exchange(Single, Single)
Exchange(UInt16, UInt16)
Exchange(UInt32, UInt32)
Exchange(UInt64, UInt64)
Exchange<T>(T, T)
Increment(Int32)
Increment(Int64)
Increment(UInt32)
Increment(UInt64)
MemoryBarrier()
MemoryBarrierProcessWide()
Or(Int32, Int32)
Or(Int64, Int64)
Or(UInt32, UInt32)
Or(UInt64, UInt64)
Read(Int64)
Read(UInt64)
SpeculationBarrier()
net10.0
namespace System.Threading
{
public static class Interlocked
{
public static int CompareExchange(ref int location1, int value, int comparand);
}
}
| nuget.org | 1.6 % Reference this API |
|---|---|
| .NET | 5.06.07.08.09.010.0 |
| .NET Core | 3.03.1 |
| .NET Framework | 2.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net10.0 | |
| Assembly | System.Threading , Version=10.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
| Referencing | The API is automatically referenced. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API