Skip to content

Latest commit

 

History

History
10 lines (7 loc) · 725 Bytes

README.md

File metadata and controls

10 lines (7 loc) · 725 Bytes

SleepingBarber

In computer science, the sleeping barber problem is a classic inter-process communication and synchronization problem that illustrates the complexities that arise when there are multiple operating system processes.

The problem was originally proposed in 1965 by computer science pioneer Edsger Dijkstra, who used it to make the point that general semaphores are often superfluous.

Source: https://www.wikiwand.com/en/Sleeping_barber_problem

These are my codes where I simplified the Sleeping barber problem WITHOUT using semaphores. These codes are good for academic purpose. They can be good example for students willing to search C/C++ Code for Sleeping Barber Operating System Synchronization Problem.