Interlocked

E697520

Interlocked is a .NET threading utility class that provides atomic operations for safely manipulating shared variables across multiple threads.

All labels observed (1)

Label Occurrences
Interlocked canonical 1

How this entity was disambiguated

Statements (37)

Predicate Object
instanceOf .NET threading utility class ⓘ
static class ⓘ
definedInNamespace System.Threading ⓘ
ensures operations are not interrupted by other threads ⓘ
guarantees atomic read-modify-write operations ⓘ
hasMethod Add ⓘ
CompareExchange ⓘ
Decrement ⓘ
Exchange ⓘ
ExchangeAdd ⓘ
Increment ⓘ
MemoryBarrier ⓘ
Read ⓘ
isAvailableIn .NET 5+ ⓘ
linked to: .NET (5 and later)

.NET Core ⓘ
.NET Framework ⓘ
isStatic true ⓘ
isThreadSafe true ⓘ
languageSupport C# ⓘ
F# ⓘ
VB.NET ⓘ
linked to: Visual Basic .NET
partOf .NET Base Class Library ⓘ
prevents race conditions on shared data ⓘ
provides atomic operations ⓘ
reducesNeedFor explicit locks ⓘ
requires System.Threading namespace import in C# ⓘ
supports multi-threaded programming ⓘ
supportsType Double ⓘ
Int32 ⓘ
Int64 ⓘ
IntPtr ⓘ
Object references ⓘ
Single ⓘ
typicalUsage implementing lock-free algorithms ⓘ
incrementing shared counters ⓘ
updating shared flags atomically ⓘ
usedFor thread-safe manipulation of shared variables ⓘ

How these facts were elicited

Referenced by (1)

Full triples — surface form annotated when it differs from this entity's canonical label.

System.Threading → containsType → Interlocked ⓘ