An open API service indexing awesome lists of open source software.

https://github.com/rsharifnasab/os_project

OS project to practice mutex and more
https://github.com/rsharifnasab/os_project

c mutex os semaphore

Last synced: 8 months ago
JSON representation

OS project to practice mutex and more

Awesome Lists containing this project

README

          

# OS project
my OS project in fall 99

## what is this?
Read project description in `todo.pdf`

or you can read about [sleeping barber problem](https://www.geeksforgeeks.org/sleeping-barber-problem-in-process-synchronization/).
![](https://media.geeksforgeeks.org/wp-content/uploads/Untitled-Diagram-25.png)

this project is generalized version with many (n) barbers.

+ n: number or berbers
+ m: total number of seats

## how to run
1. enter your setting in `src/demo.c`
2. compile with `make all` (only in POSIX systems)
3. run with `./bin/demo`