subject

Let a system allocate resources to processes as long as the system state remains safe with respect to deadlocks. Note that a system state is safe if there is a way to allocate the remaining resources in such a manner as to satisfy the maximum needs of all the processes. With respect to a resource R, let the system have 10 instances of the resource and let there be five processes P1, P2, P3, P4 and P5 that have maximum needs of 5, 7, 4, 9 and 8 instances of the resource respectively.
Start with a safe state in which P1 is holding no instances, P2, P3 and P4 are holding two instances each and P5 is holding one instance of R. Now, consider each of the following requests. For each request, determine if it can be granted while keeping the system in a safe state. Identify the request that can be granted safely.
A. P1 requesting one instance of R
B. P5 requesting one instance of R
C. P2 requesting two instances of R
D. P4 requesting one instance of R

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 10:50
A911 dispatcher is the sole sender of messages to all police officers. while on patrol, officers communicate with the dispatcher who, in turn, relays messages to other officers. the officers do not communicate directly with one another. this illustrates a network.
Answers: 1
question
Computers and Technology, 23.06.2019 04:31
Acloud service provider uses the internet to deliver a computing environment for developing, running, and managing software applications. which cloud service model does the provider offer? a. iaas b. caas c. maas d. paas e. saas
Answers: 1
question
Computers and Technology, 24.06.2019 11:30
Convert 11001110(acdd notation) into decimal
Answers: 2
question
Computers and Technology, 24.06.2019 14:30
Alison is having a hard time at work because hee inbox is flooded with emails every day. some of these emails are unsolicited. some of other she don’t need. which action should she take to better manager her emails?
Answers: 1
You know the right answer?
Let a system allocate resources to processes as long as the system state remains safe with respect t...
Questions
question
Mathematics, 22.07.2019 07:30
question
Computers and Technology, 22.07.2019 07:30
question
Mathematics, 22.07.2019 07:30
Questions on the website: 13722360