AteebNoOne / SleepingBarber

Operating System Sleeping Barber Synchronize Problem

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

Operating System Sleeping Barber Synchronize Problem


Languages

Language:C++ 100.0%