Question
Option 2 : Deadlock exists, because a cycle with single-instance resources guarantees it / डेडलॉक है, क्योंकि एकल-इंस्टेंस संसाधनों के साथ चक्र इसकी गारंटी देता है
Detailed Solution
सही उत्तर Deadlock exists, because a cycle with single-instance resources guarantees it / डेडलॉक है, क्योंकि एकल-इंस्टेंस संसाधनों के साथ चक्र इसकी गारंटी देता है है।
Question:
A system has exactly one instance of each resource type. Its resource-allocation graph contains the cycle P1 -> R1 -> P2 -> R2 -> P1. What can be concluded? / किसी प्रणाली में प्रत्येक संसाधन प्रकार का ठीक एक इंस्टेंस है। इसके संसाधन-आवंटन ग्राफ में चक्र P1 -> R1 -> P2 -> R2 -> P1 है। क्या निष्कर्ष निकलेगा?
Correct Answer: Deadlock exists, because a cycle with single-instance resources guarantees it / डेडलॉक है, क्योंकि एकल-इंस्टेंस संसाधनों के साथ चक्र इसकी गारंटी देता है
With a single instance of each resource type, a cycle in the resource-allocation graph is both necessary and sufficient for deadlock. (With multiple instances per type, a cycle means deadlock is only possible, not certain.) / प्रत्येक प्रकार के एकल इंस्टेंस के साथ संसाधन-आवंटन ग्राफ में चक्र डेडलॉक के लिए आवश्यक और पर्याप्त दोनों है।