System.Threading

Namespace: System.Threading

Provides classes and interfaces that support multithreaded programming.

Types in System.Threading

CancellationToken

Propagates notification that operations should be canceled.

CancellationTokenSource

Enables cooperative cancellation of operations.

Interlocked

Provides atomic operations that transfer information among multiple threads.

LockRecursionPolicy

Specifies whether lock recursion is allowed.

Enum

LockRecursionException

The exception that is thrown when lock recursion is not allowed and a thread attempts to acquire a lock that it already holds.

Class

ManualResetEvent

Signals one or more threads that an event has occurred.

ManualResetEventSlim

Represents a thread-safe, lightweight implementation of a manual-reset event.

Monitor

Provides the primitive locking mechanism for the .NET Framework.

Mutex

Represents a thread-messaging mechanism that can be used to synchronize access to resources.

ParameterizedThreadStart

Represents a method that can be executed by a new thread and accepts a single object parameter.

Delegate

SpinLock

A thread-safe, non-blocking synchronization primitive.

SpinWait

Provides support for spin-waiting, which is a technique for waiting for a condition by repeatedly checking the condition.

Thread

Represents an operating system thread, which is the basic unit of execution within a process.

ThreadExceptionEventArgs

Provides data for the ThreadException event.

ThreadLocal

Provides thread-local storage for a variable.

ThreadPool

Contains methods that allow you to use the system thread pool.

ThreadPriority

Specifies the scheduling priority of a thread.

Enum

ThreadState

Specifies the states of an operating system thread.

Enum

Timer

Represents a timer that calls a delegate at regular intervals.