170k views
5 votes
In this project you are to: a. Design and implement a readers/writers lock using semaphores that does not starve the readers and does not starve the writers; b. Write the main C program that uses Reader/Writer locks; c. Come up with a set of input scenarios that shows the behavior of your nonstarving lock compared to the starving lock.

1 Answer

2 votes

Answer:

b

Step-by-step explanation:

thats all you need to know folks

User Arashdn
by
4.5k points