Interlocked

E697520

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

Try in SPARQL Jump to: Statements Referenced by

Statements (37)

Predicate Object
instanceOf .NET threading utility class
static class
definedInNamespace System.Threading NERFINISHED
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+ NERFINISHED
.NET Core NERFINISHED
.NET Framework NERFINISHED
isStatic true
isThreadSafe true
languageSupport C# NERFINISHED
F# NERFINISHED
VB.NET NERFINISHED
partOf .NET Base Class Library NERFINISHED
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

Referenced by (1)

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

System.Threading containsType Interlocked