Table of Contents

Namespace System.Threading

Classes

AutoResetEvent

Notifies a waiting thread that an event has occurred. This class cannot be inherited.

CancellationTokenSource

Signals to a CancellationToken that it should be canceled.

Interlocked

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

ManualResetEvent

Notifies one or more waiting threads that an event has occurred. This class cannot be inherited.

Monitor

Provides a mechanism that synchronizes access to objects.

OperationCanceledException

The exception that is thrown when a CancellationToken is raised.

Thread

Creates and controls a thread, sets its priority, and gets its status.

ThreadAbortException

The exception that is thrown when a call is made to the Abort method. This class cannot be inherited.

Timeout

Contains constants that specify infinite time-out intervals. This class cannot be inherited.

Timer

Provides a mechanism for executing a method on a thread pool thread at specified intervals. This class cannot be inherited.

WaitHandle

Encapsulates operating system specific objects that wait for exclusive access to shared resources.

Structs

CancellationToken

Propagates notification that operations should be canceled.

CancellationTokenRegistration

Represents a callback delegate that has been registered with a CancellationToken.

SpinWait

Provides support for spin-based waiting.

Enums

ThreadPriority

Specifies the scheduling priority of a Thread.

ThreadState

Specifies the execution states of a Thread.

Delegates

ThreadStart

Represents the method that executes on a Thread.

TimerCallback

Represents the method that handles calls from a Timer.