/ReadersWriters

In this project I implemented the famous in OS: RW problem

Primary LanguageCMIT LicenseMIT

readers-writers-problem

In this project I implemented the famous in OS: RW problem

Main idea

In simple words, the main process (Coordinator) is using the fork() function 'n' times.

Also, we decide how many processes will behave as readers and also how many processes will behave as writers.

Compile and run

To compile the program,simple type:

make

And then to give arguments:

./main [Entries_of_Shared_Memory] [Peers] [RatioRW]

Clean

To clean,simple type make clean

Further informations

This project also contains a visually explanation of this project in greek (LS.pdf) and also all the details and the necessary informations we'll need to know about (P1Greek.pdf).

This project is part of the course: Operational Systems , Winter of 2019. University of Athens, DiT.