A process as a house

Updated: April 19, 2023

Let's base our analogy for processes and threads using a regular, everyday object: a house.

A house is really a container, with certain attributes (such as the amount of floor space, the number of bedrooms, and so on).

If you look at it that way, the house really doesn't actively do anything on its own—it's a passive object. This is effectively what a process is. We'll explore this shortly.