Solving classical IPC problems

Inter process communication is very important. Its implementation, on the other hand, is very complex. Operating system designers (and developers) may face various problems. Here, we will explain some of the most common problems.

The dining philosophers problem

The definition for the dining philosopher's problem was taken from Andrew Tanenbaum's book, Modern Operating Systems Third Edition. The authors' solution provided for this book is genuine.

In 1965, Dijkstra proposed and solved a synchronization problem that he called the dining philosophers' problem. The problem is quite simply as follows: five philosophers are seated around a circular table. Each philosopher has a plate of spaghetti. The spaghetti is so slippery ...

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.