Key Classes Related to Threading

Table 12.1 shows some key classes related to threading.

Table 12.1. Key Classes of the System.Threading Namespace
Element/Namespace Description
System.Threading This namespace acts as an interface for developers to create and manage threads.
AutoResetEvent A “signaling” class used to indicate when a specific thread has been released.
Interlocked The Interlocked class synchronizes access to a variable, allowing more than one thread to safely access the variable without encountering concurrency problems.
ManualResetEvent Similar to the AutoResetEvent class, this class is a “signaling” class used to indicate when a specific thread has been released. The signal can be manually set.
Monitor The Monitor class is a synchronization ...

Get Visual Basic® Programmer's Guide to the .NET Framework Class Library now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.