We implemented a simple round-robin scheduler in chapter 7. Now let’s return and dig a little deeper into the general problem of scheduling and see how we might implement a more sophisticated scheduler.
Whether we realize it or not, the scheduling problem lives with us in our daily lives. In our homes, we have work to do, like sweeping the floors, cooking meals, washing clothes, mowing the grass, and so on. Depending on the size of our family, we have one or more people to perform the necessary work. If you live by yourself, then you have a single worker, yourself. If you live with a partner, you have two workers. If you live with a partner and children, you have three or more workers.