55.2k views
3 votes
The solution to starvation is :

a) The number of rollbacks must be included in the cost factor
b) The number of resources must be included in resource preemption
c) Resource preemption be done instead
d) All of these

User Nmu
by
8.2k points

1 Answer

3 votes

Final answer:

The solution to starvation in computer operating systems involves resource preemption, the number of rollbacks, and the number of resources in the cost factor.

Step-by-step explanation:

The solution to starvation in computer operating systems involves resource preemption, as well as considering the number of rollbacks and the number of resources in the cost factor. Resource preemption is the act of temporarily suspending the execution of a process to allow other processes to access the required resources, thus preventing starvation. The number of rollbacks and the number of resources are important factors to consider in the cost factor, as they directly impact the efficiency and fairness of resource allocation.

User Arkar Aung
by
7.4k points