Question

What is a solution to the problem of having a deadlock in a Round Robin scheduling...

What is a solution to the problem of having a deadlock in a Round Robin scheduling system
0 0
Add a comment Improve this question Transcribed image text
Answer #1

The basic Round Robin scheduling does not cause deadlock.

But if there are two locks in the processor, and one process holds the first lock and attempts to achieve the second lock, which may be further acquired by another processor , in such a case the system may be in a deadlock.

To resolve such kind of deadlock, a check for progress , that is, if within 1 time slice, the system progresses with nothing and their is no change in the state of the processes, then all the locks are released by the processes, and system resumes processing from the current state, with the processes already in the ready queue or waiting state.

The releasing of all locks and thus releasing all resourced acquired by the processes will release the system from deadlock to running state.

Hope you get your answer

thankyou

Add a comment
Know the answer?
Add Answer to:
What is a solution to the problem of having a deadlock in a Round Robin scheduling...
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