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()
net9.0
namespace System.Threading
{
public static class Interlocked
{
public static int And(ref int location1, int value);
}
}
| Design Reviews |
|
|---|---|
| .NET | 5.06.07.08.09.0 |
Information specific to net9.0 | |
| Assembly | System.Threading , Version=9.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