Classical Problem of Synchronization.
Classical Problem of Synchronization.
Below are some of the classical problem depicting flaws of process synchronization in systems
where cooperating processes are present.
Because the buffer pool has a maximum size, this problem is often called the Bounded buffer
problem.
The dining philosopher's problem involves the allocation of limited resources to a group
of processes in a deadlock-free and starvation-free manner.
There are five philosophers sitting around a table, in which there are five chopsticks/forks
kept beside them and a bowl of rice in the centre, When a philosopher wants to eat, he
uses two chopsticks - one from their left and one from their right. When a philosopher
wants to think, he keeps down both chopsticks at their original place.