Implementation of the thread model

We can say that the process is an object whose task is to group related resources together. Every process has an address space with a representation, as shown in the following figure.

Implementation of the thread model

This so-called process image must be loaded in the physical memory on initialization of CreateProcess. All resources such as file handles, information about child processes, pending alarms, signaling handlers, and so on are stored. They can be managed more easily by grouping them together in the form of a process.

The other important concept besides process is a thread of execution, which is usually called thread. The thread is the ...

Get C++ Multithreading Cookbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.