the decrease_count () function in the previous exercise currentl

Project Description:

the decrease_count () function in the previous exercise currently returns 0 if sufficient resources are available and -1 otherwise. this leads to awkward programming for a process that wishes to obtain a number of resources: while (decrease_count(count) == -1) ;rewrite the resource-manager code segment using a monitor and condition variables so that the decrease_count () function suspends the process until sufficient resources are available. this will allow a process to invoke decrease_count () by simply calling decrease_count(count); the process will return from this function call only when sufficient resources are available.
Skills Required:
Project Stats:

Price Type: Negotiable

Total Proposals: 2
1 Current viewersl
60 Total views
Project posted by:


Proposals Reputation Price offered