System.Threading Namespace
The System.Threading namespace provides classes, delegates, and enumerations you can use to handle threading in your applications.
Classes
Name | Description | |
---|---|---|
![]() |
AutoResetEvent | Notifies a waiting thread that an event has occurred. |
![]() |
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. |
![]() |
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. |
![]() |
Timeout | Provides a constant you can use to specify an infinite amount of time. |
![]() |
Timer | Provides a mechanism for executing a method at specified intervals. |
![]() |
WaitHandle | Encapsulates operating system-specific objects that wait for exclusive access to shared resources. |
Delegates
Name | Description | |
---|---|---|
![]() |
ThreadStart | Represents the method that executes on Thread objects. |
![]() |
TimerCallback | Represents the method that handles calls from Timer objects. |
Enumerations
Name | Description | |
---|---|---|
![]() |
ThreadPriority | Specifies the scheduling priority of the current Thread object (thread). |
![]() |
ThreadState | Specifies the execution states of the current Thread object (thread). |