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

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

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