Question

Can a system detect that some of its processes are starving? If the answer is yes,...

Can a system detect that some of its processes are starving? If the answer is yes, explain how it
can. If the answer is no, explain how the system can deal with the starvation problem.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

The answer is "No". This is because system cannot detect the future of any process. Even though you maintain some kind of statistics of the process, it is almost impossible to know whether a process has made any progress or not. But starvation can be prevented by pre-emption or roll back. We have to maintain "roll back" for each process. This can be a costly affair. But when an process goes into deadlock or starvation we can roll back it. In case of pre-emption the process must be pre-emptive else it may go into deadlock situation.

Add a comment
Know the answer?
Add Answer to:
Can a system detect that some of its processes are starving? If the answer is yes,...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT