How Threads Work

A process in a traditional application has a single flow of execution that carries out processing sequentially. It is single-threaded. In a computer that supports multiprocessing, an application can be designed to have multiple single-threaded processes carry out the processing of different parts of an application. Different processes execute in different address spaces; that is, they read and write different memory locations.

Figure 14 Threads