19.5. The System.Threading Namespace

Under the .NET platform, the System.Threading namespace provides a number of types that enable the direct construction of multithreaded applications. In addition to providing types that allow you to interact with a particular CLR thread, this namespace defines types that allow access to the CLR maintained thread pool, a simple (non–GUI-based) Timer class, and numerous types used to provide synchronized access to shared resources. Table 19-1 lists some of the core members of this namespace. (Be sure to consult the .NET Framework 4.0 SDK documentation for full details.)

Table 19.1. Select Types of the System.Threading Namespace
TypeMeaning in Life
InterlockedThis type provides atomic operations for variables ...

Get Pro C# 2010 and the .NET 4 Platform, Fifth Edition 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.