Give a solution for the following synchronization problem using semaphores (i)Producer- Consumer Problem (ii)Readers- Writers Problem
QUESTION TWO
A. (i) Describe Banker’s
(ii)Consider a computer system with has four identical units of a resource R. There are three processes each with a maximum claim of two units of resource R. Processes can request these resources in anyway, that is, two in one shot or one by one. The system always satisfies a request a request for a resource if enough resources are available. If the process doesn’t request any other kind of resource, show that the system never deadlock
B. Give a solution for the following synchronization problem using semaphores
(i)Producer- Consumer Problem
(ii)Readers- Writers Problem
C. List out the issues in preprocessor scheduling that causes performance degradation in multiprocessor systems
Trending now
This is a popular solution!
Step by step
Solved in 2 steps