System.Threading

Modern operating systems handle many independent programs at once, and the programs themselves often contain many independent tasks. Logically segregating these tasks for efficient development, and sharing the computer's processor(s) among them for efficient operation, is such an important concept that the functionality for doing it comes built into the modern operating system. Programmers divide their program's functionality into threads. A thread is an object within a process that executes code, and a process is a virtual address space. You can think of a process as a garage and a thread as an engine within the garage. Every process gets created with one thread. A programmer may explicitly create more threads in order to accomplish ...

Get .NET Framework Standard Library Annotated Reference, Volume 1: Base Class Library and Extended Numerics 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.