O'Reilly logo

C++ Multithreading Cookbook by Milos Ljumovic

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required