Interlocked (System.Threading.Interlocked)

Inherits: System.Object

Interfaces:

Derived Types: 0

Assembly: mscorlib.dll

Provides atomic operations for variables that are shared by multiple threads.

VB.NET C#

C#

public static Interlocked
{
}

Articles

RikWare - March 2005

I came across System.Threading.Interlocked recently. Handy class for performing some basic threadsafe operations. Not sure of performance implications, but I'd much prefer correct ...

www.tallcomponents.com

System.Math.Min(System.Threading.Interlocked.Increment(k),k-1) End While. System.Math.Min(System.Threading.Interlocked.Increment(j),j-1)

www.tallcomponents.com

System.Math.Min(System.Threading.Interlocked.Increment(j), j - 1) End While System.Math.Min(System.Threading.Interlocked.Increment(i), i - 1)

Coding4Fun : Beginning Game Development: Part VI - Lights, Materials ...

... 2 = 0 Then Dim x As Integer x = 0 x = 0 While x < _numberOfVerticesX _indices(System.Math.Min( System.Threading.Interlocked ...

MBR IT/.NET 247 : System.Threading.Interlocked Class [Articles]

Multithreading In C#: C# Help: In this article let us see about multithreading. Multithreaded applications provide the illusion that numerous activities are happening at more or ...

Mono Documentation

... Class Library : System.Threading.Interlocked Overview | Members System.Threading.Interlocked ... Decrements the specified variable and stores the result as an atomic ...

Mono Documentation

... Class Library : System.Threading.Interlocked Overview | Members System.Threading.Interlocked ... Increments the specified variable and stores the result as an atomic ...

Interlocked Class (System.Threading)

Provides atomic operations for variables that are shared by multiple threads. ... Provides atomic operations for variables that are shared by multiple threads.

Interlocked Methods (System.Threading)

Name Description; Add: Overloaded. Adds two integers and replaces the first integer with the sum, as an atomic operation. CompareExchange: Overloaded.

System.Threading.Interlocked Class

Base Types Object Interlocked. Assembly mscorlib Library BCL Summary The Interlocked class provides atomic operations for variables that are shared by multiple threads.

Custom .NET Training ASP.NET Training Silverlight Training LINQ Training IT Support