System.Threading Namespace
Provides fundamental types that support multithreaded programming, such as synchronization primitives, thread-local storage, thread pooling, and the thread-safe queue.
Classes
Class
Semaphore
Constrains the number of threads that can access a shared resource or perform an action concurrently.
Class
CancellationTokenSource
Notifies one or more CancellationToken
objects that an operation should be canceled.