Movatterモバイル変換


[0]ホーム

URL:


Skip to main content

This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft EdgeMore info about Internet Explorer and Microsoft Edge
Table of contentsExit editor mode

Threading objects and features

Feedback

In this article

Along with theSystem.Threading.Thread class, .NET provides a number of classes that help you develop multithreaded applications. The following articles provide overview of those classes:

TitleDescription
The managed thread poolDescribes theSystem.Threading.ThreadPool class, which provides a pool of worker threads that are managed by .NET.
TimersDescribes .NET timers that can be used in a multithreaded environment.
Overview of synchronization primitivesDescribes types that can be used to synchronize access to a shared resource or control thread interaction.
EventWaitHandleDescribes theSystem.Threading.EventWaitHandle class, which represents a thread synchronization event.
CountdownEventDescribes theSystem.Threading.CountdownEvent class, which represents a thread synchronization event that becomes set when its count is zero.
MutexesDescribes theSystem.Threading.Mutex class, which grants exclusive access to a shared resource.
Semaphore and SemaphoreSlimDescribes theSystem.Threading.Semaphore class, which limits number of threads that can access a shared resource or a pool of resources concurrently.
BarrierDescribes theSystem.Threading.Barrier class, which implements the barrier pattern for coordination of threads in phased operations.
SpinLockDescribes theSystem.Threading.SpinLock structure, which is a lightweight alternative to theSystem.Threading.Monitor class for certain low-level locking scenarios.
SpinWaitDescribes theSystem.Threading.SpinWait structure, which provides support for spin-based waiting.

See also

Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, seeour contributor guide.

Feedback

Was this page helpful?

YesNoNo

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?

  • Last updated on

In this article

Was this page helpful?

YesNo
NoNeed help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Suggest a fix?