Which of the following is a solution to the deadlock problem that involves ensuring that processes hold all required resources before starting execution?निम्नलिखित में से कौन सा गतिरोध समस्या का एक समाधान है जिसमें यह सुनिश्चित करना शामिल है कि निष्पादन शुरू करने से पहले सभी आवश्यक संसाधन हैं?
निम्नलिखित में से कौन सा गतिरोध समस्या का एक समाधान है जिसमें यह सुनिश्चित करना शामिल है कि निष्पादन शुरू करने से पहले सभी आवश्यक संसाधन हैं?
Show answerHide answer
Correct answer: (C) Preventionरोकथाम
Explanation
Requiring a process to request and hold all its resources before it starts breaks the hold-and-wait condition. That is a deadlock prevention technique, not avoidance (as in the Banker's algorithm) or detection.किसी प्रक्रिया से शुरू होने से पहले अपने सभी संसाधन माँगने और रखने की अपेक्षा करना hold-and-wait शर्त को तोड़ता है। यह deadlock prevention तकनीक है, avoidance (जैसे Banker's algorithm में) या detection नहीं।