EXAMRADAR

Question: When should we invoke the detection algorithm?

Answer:

If deadlocks occur frequently, then the detection algorithm should be invoked

frequently. Resources allocated to deadlocked processes will be idle until the

deadlock can be broken. In addition, the number of processes involved in the

deadlock cycle may grow.

Deadlocks occur only when some process makes a request that cannot be

granted immediately. This request may be the final request that completes a

chain of waiting processes. In the extreme, then, we can invoke the deadlockdetection algorithm every time a request for allocation cannot be granted immediately.

MCQ: When should we invoke the detection algorithm?

Correct Answer: A. How often is a deadlock likely to occur?

Explanation:

If deadlocks occur frequently, then the detection algorithm should be invoked

frequently. Resources allocated to deadlocked processes will be idle until the

deadlock can be broken. In addition, the number of processes involved in the

deadlock cycle may grow.

Deadlocks occur only when some process makes a request that cannot be

granted immediately. This request may be the final request that completes a

chain of waiting processes. In the extreme, then, we can invoke the deadlockdetection algorithm every time a request for allocation cannot be granted immediately.

Discuss a Question

Related Questions

You may be interested in:

OS Deadlocks MCQs

Recently Added Articles

Kahoot Winner Strategies

Top 5 Kahoot Winner Strategies Students Are Using Right Now

Last updated on: May 14, 2025Posted by: ExamRadar

Daily Routine to Cover the RBI Grade B Syllabus Fast

Last updated on: May 14, 2025Posted by: ExamRadar

How Can AI Simplify the Academic Life of Students?

How Can AI Simplify the Academic Life of Students?

Last updated on: April 16, 2025Posted by: ExamRadar

Want to Clear IBPS RRB PO? Master These Mock Test Hacks!

Last updated on: March 10, 2025Posted by: ExamRadar

Top AI Tools for Instantly Detecting Plagiarized Writing

Last updated on: December 5, 2024Posted by: ExamRadar

5 Important Tools for System Administrators

Last updated on: December 1, 2024Posted by: ExamRadar

Image to Text Conversion Made Easy: Online Tool Insights

Last updated on: April 12, 2024Posted by: ExamRadar