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
- Host: GitHub
- URL: https://github.com/rsharifnasab/os_project
- Owner: rsharifnasab
- License: gpl-3.0
- Created: 2021-01-08T17:00:38.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-01-09T17:29:13.000Z (over 5 years ago)
- Last Synced: 2025-03-25T10:03:21.684Z (over 1 year ago)
- Topics: c, mutex, os, semaphore
- Language: C
- Homepage:
- Size: 128 KB
- Stars: 6
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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/).

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`