Programming Assignment 3Version 1.0 - Initial release |
CS370: Operating Systems |
Points - Library (100), Test Program (100)
For this assignment, you will write a C library that implements a semaphore system that you can use to solve the reader/writer problem.
Your library will contain the following calls:
You will test your program by writing the reader/writer problem given in Midterm 1 using the semaphores from your library. This time, implement writer's preference rather than reader's preference.
The program files should be well documented with both data dictionaries and logic flow descriptions.
Your makefile should perform a make clean, make target, and a make all as well as the actions described above. Name the executables per the requirements.
This is Programming Assignment 3.