Question

Why is it that using a mutual exclusion does NOT ensure that a system avoids deadlock?

Why is it that using a mutual exclusion does NOT ensure that a system avoids deadlock?

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

Removing the mutual exclusion condition means that no process will have exclusive access to a resource.this proves impossible for resources that cannot be spooled. But even with spooled resources, the deadlock could still occur. Algorithms that avoid mutual exclusion are called non blocking synchronisation  algorithms(In computer Science, an algorithm is called non-blocking if failure or suspension of any thread cannot cause failure or suspension of another thread)

I hope you understood the explanation. Kindly upvote if you like the answer. And comment if you have any query.

Add a comment
Know the answer?
Add Answer to:
Why is it that using a mutual exclusion does NOT ensure that a system avoids deadlock?
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