Question
Deadlock prevention in operating systems can be achieved
by ensuring which of the following conditions does NOT hold?Solution
To prevent deadlocks, the Circular Wait condition is typically avoided by imposing a strict ordering of resource allocation. Circular wait occurs when a set of processes are waiting on each other in a circular chain, creating a dependency loop that cannot be resolved. By assigning a unique order to resource requests, the system ensures no circular dependencies arise, breaking the cycle and preventing deadlock. For example, a system can allocate resources numerically (e.g., low to high resource IDs), ensuring each process requests resources in ascending order. Why Other Options Are Incorrect: 1. Mutual Exclusion: Necessary for non-shareable resources and cannot be avoided. 2. Hold and Wait: Prevented by requiring processes to request all needed resources upfront, but this approach is inefficient. 3. No Preemption: Difficult to implement universally; preempting resources can lead to data inconsistency. 4. Safe State: Refers to deadlock avoidance, not prevention. A safe state ensures that at least one process can complete. Breaking the circular wait condition is a practical and efficient strategy for deadlock prevention in modern operating systems.
DBS was named Global Bank of the Year 2025 by The Banker, marking its which overall win of this title?Â
Why are commemorative coins being issued for Prof. M.S. Swaminathan and Make in India?Â
What is the focus of the India-Australia air-to-air refueling agreement?
Where were 103 punch-marked gold coins from the Vijayanagara era recently discovered?Â
Which ministry launched the Transport 4 All Challenge Stage-2 and Citizen Perception Survey 2022?
Which Indian city hosted the launch of Roundglass Golf Academy in 2025?Â
Who was appointed as the new governor of the Reserve Bank of India in 2025?
How many new billionaires were created globally in 2024?
Which village in Sikkim has been declared India’s first digital nomad village?Â
What is India's rank in the 2023 Asia Power Index by the Lowy Institute?